diff --git a/tests/test_stdio.py b/tests/test_stdio.py index 6ff07bc7..ba45d058 100644 --- a/tests/test_stdio.py +++ b/tests/test_stdio.py @@ -48,6 +48,7 @@ def test_stdout(ocrmypdf_exec, resources, outpdf): assert check_pdf(output_file) +@pytest.mark.skipif(os.name == 'nt', reason='Windows does not support /dev/null') def test_dev_null(resources): if 'COV_CORE_DATAFILE' in os.environ: pytest.skip("Coverage uses stdout")