Delinting: unused args
This commit is contained in:
+2
-4
@@ -30,8 +30,7 @@ def test_stdin(ocrmypdf_exec, resources, outpdf):
|
||||
'--plugin',
|
||||
'tests/plugins/tesseract_noop.py',
|
||||
]
|
||||
p = run(p_args, stdout=PIPE, stderr=PIPE, stdin=input_stream)
|
||||
assert p.returncode == ExitCode.ok
|
||||
run(p_args, stdout=PIPE, stderr=PIPE, stdin=input_stream, check=True)
|
||||
|
||||
|
||||
def test_stdout(ocrmypdf_exec, resources, outpdf):
|
||||
@@ -49,8 +48,7 @@ def test_stdout(ocrmypdf_exec, resources, outpdf):
|
||||
'--plugin',
|
||||
'tests/plugins/tesseract_noop.py',
|
||||
]
|
||||
p = run(p_args, stdout=output_stream, stderr=PIPE, stdin=DEVNULL)
|
||||
assert p.returncode == ExitCode.ok
|
||||
run(p_args, stdout=output_stream, stderr=PIPE, stdin=DEVNULL, check=True)
|
||||
|
||||
assert check_pdf(output_file)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user