Delinting: unused args

This commit is contained in:
James R. Barlow
2021-04-07 02:18:08 -07:00
parent e788dde607
commit 2a09a668f6
2 changed files with 7 additions and 4 deletions
+2 -4
View File
@@ -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)