Change most tests to use ocrmypdf API instead of subprocess
The main benefit of this is code coverage gains can actually follow it. Also removes most ugly os.environ hacks.
This commit is contained in:
@@ -482,3 +482,4 @@ debugging.add_argument(
|
||||
action='store_true',
|
||||
help="Keep temporary files (helpful for debugging)",
|
||||
)
|
||||
debugging.add_argument('--tesseract-env', type=str, help=argparse.SUPPRESS)
|
||||
|
||||
Reference in New Issue
Block a user