From 61a26743175b1579ccdb802043ecadecb5ba4b15 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Mon, 6 Jan 2020 02:35:54 -0800 Subject: [PATCH] Skip test that needs chmod when on Windows --- tests/test_main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_main.py b/tests/test_main.py index cd12bb5d..39abbe98 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -270,6 +270,7 @@ def test_input_file_not_found(caplog, no_outpdf): assert input_file in caplog.text +@pytest.mark.skipif(os.name == 'nt', reason="chmod") def test_input_file_not_readable(caplog, resources, outdir, no_outpdf): input_file = outdir / 'trivial.pdf' shutil.copy(resources / 'trivial.pdf', input_file)