MacOS skip the one test that needs poppler, to save installing poppler

This commit is contained in:
James R. Barlow
2017-03-11 17:03:26 -08:00
parent 8444a8f211
commit 72660d0dec
+3
View File
@@ -169,6 +169,9 @@ def test_preserve_metadata(spoof_tesseract_noop, output_type,
@pytest.mark.skipif( @pytest.mark.skipif(
pytest.helpers.is_linux() and not pytest.helpers.running_in_docker(), pytest.helpers.is_linux() and not pytest.helpers.running_in_docker(),
reason="likely to fail if Linux locale is not configured correctly") 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", [ @pytest.mark.parametrize("output_type", [
'pdfa', 'pdf' 'pdfa', 'pdf'
]) ])