Skip to content

Commit 1166ce8

Browse files
committed
Correct placement for disable directive
1 parent 882bb4e commit 1166ce8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

elm/utilities/parse.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -397,12 +397,12 @@ def _load_pdf_possibly_multi_col(pdf_bytes):
397397
return pages
398398

399399

400-
def read_pdf_ocr(
400+
def read_pdf_ocr( # pragma: no cover
401401
pdf_bytes,
402402
image_to_string_kwargs=None,
403403
convert_from_bytes_kwargs=None,
404404
verbose=True
405-
): # pragma: no cover
405+
):
406406
"""Read PDF contents from bytes using Optical Character recognition (OCR).
407407
408408
This method attempt to read the PDF document using OCR. This is one
@@ -454,9 +454,9 @@ def read_pdf_ocr(
454454
return pages
455455

456456

457-
def _load_pdf_with_pytesseract(
457+
def _load_pdf_with_pytesseract( # pragma: no cover
458458
pdf_bytes, image_to_string_kwargs=None, convert_from_bytes_kwargs=None
459-
): # pragma: no cover
459+
):
460460
"""Load PDF bytes using Optical Character recognition (OCR)"""
461461

462462
try:

0 commit comments

Comments
 (0)