From 057eaff36dfeb2b2844fc67e159e4d30ac6b0307 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Mon, 10 Nov 2025 16:57:30 -0800 Subject: [PATCH] Skip devnull testing on Windows No longer seems to work - Windows Server 2025 change, perhaps? Doesn't really matter. --- tests/test_stdio.py | 1 + 1 file changed, 1 insertion(+) 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")