From 72660d0deca8cd69fb3ebcc85df2722be98c47ce Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Fri, 3 Mar 2017 00:20:53 -0800 Subject: [PATCH] MacOS skip the one test that needs poppler, to save installing poppler --- tests/test_main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_main.py b/tests/test_main.py index 0931828a..7ed2a920 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -169,6 +169,9 @@ def test_preserve_metadata(spoof_tesseract_noop, output_type, @pytest.mark.skipif( pytest.helpers.is_linux() and not pytest.helpers.running_in_docker(), reason="likely to fail if Linux locale is not configured correctly") +@pytest.mark.skipif( + pytest.helpers.is_macos() and pytest.helpers.running_in_travis(), + reason="save Travis the trouble of installing poppler") @pytest.mark.parametrize("output_type", [ 'pdfa', 'pdf' ])