From 8a1dddc3eeec9e7ca3bdbe9921ba72346d40bf48 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Thu, 28 Nov 2019 14:45:03 -0800 Subject: [PATCH] Don't worry about closed streams on Windows --- tests/test_stdio.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_stdio.py b/tests/test_stdio.py index a0f07ddb..53c0398f 100644 --- a/tests/test_stdio.py +++ b/tests/test_stdio.py @@ -77,6 +77,7 @@ def test_stdout(spoof_tesseract_noop, ocrmypdf_exec, resources, outpdf): @pytest.mark.skipif( sys.version_info[0:3] >= (3, 6, 4), reason="issue fixed in Python 3.6.4" ) +@pytest.mark.skipif(os.name == 'nt', reason="POSIX problem") def test_closed_streams(spoof_tesseract_noop, ocrmypdf_exec, resources, outpdf): input_file = str(resources / 'francais.pdf') output_file = str(outpdf)