Skip to content

Commit

Permalink
TLDR-531 style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raxtemur committed Nov 30, 2023
1 parent 99e3b6d commit a0710d6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/unit_tests/test_format_pdf_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import cv2
from dedocutils.preprocessing import SkewCorrector
from dedoc.config import get_config

from dedoc.data_structures.line_with_meta import LineWithMeta
from dedoc.readers.pdf_reader.pdf_image_reader.columns_orientation_classifier.columns_orientation_classifier import ColumnsOrientationClassifier
Expand Down Expand Up @@ -144,8 +143,8 @@ def test_pdf_text_layer(self) -> None:

def test_table_extractor(self) -> None:
config = {
'debug_mode': False,
'path_debug': '/tmp/dedoc'
"debug_mode": False,
"path_debug": "/tmp/dedoc"
} # TODO: Has to work without config
any_doc_reader = PdfTxtlayerReader(config=config)
path = os.path.join(os.path.dirname(__file__), "../data/pdf_with_text_layer/english_doc.pdf")
Expand Down

0 comments on commit a0710d6

Please sign in to comment.