Skip to content

Commit

Permalink
BUG: Removing save_document example doctest (Windows wrong path)
Browse files Browse the repository at this point in the history
  • Loading branch information
acsenrafilho committed Nov 13, 2024
1 parent cafdf32 commit 8a34f26
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cucaracha/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,6 @@ def save_document(self, file_name: str):
The user can choose the file format by defining on it's naming
Examples:
>>> doc = Document('.'+os.sep+'tests'+os.sep+'files'+os.sep+'sample-text-en.jpg')
>>> doc.save_document(os.sep+'tmp'+os.sep+'doc.pdf')
The conversion if based on the file format. If the `.pdf` extension
is passed, then the PyMuPDF constructor ir used. If an image file is
passed, e.g. `.jpg`, `.png` and so on, the OpenCV constructor is used.
Expand Down

0 comments on commit 8a34f26

Please sign in to comment.