From 40baab32acbec996079adf545f5681a66e15bb3f Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Thu, 14 Apr 2016 14:22:34 -0700 Subject: [PATCH] Remove dead code "import stuff in testcase" --- tests/test_main.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/test_main.py b/tests/test_main.py index f5383a72..3785a85e 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -325,11 +325,6 @@ def test_monochrome_correlation(): 'tesseract', ]) def test_autorotate(spoof_tesseract_cache, renderer): - import ocrmypdf.ghostscript as ghostscript - import logging - - gslog = logging.getLogger() - # cardinal.pdf contains four copies of an image rotated in each cardinal # direction - these ones are "burned in" not tagged with /Rotate out = check_ocrmypdf('cardinal.pdf', 'test_autorotate_%s.pdf' % renderer,