diff --git a/tests/conftest.py b/tests/conftest.py index bae8f5be..9a059c83 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -36,10 +36,6 @@ def running_in_docker(): return Path('/.dockerenv').exists() or Path('/.dockerinit').exists() -def running_in_travis(): - return os.environ.get('TRAVIS') == 'true' - - def have_unpaper(): try: unpaper.version() diff --git a/tests/test_main.py b/tests/test_main.py index 4f5aedcf..0d827fa3 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -32,7 +32,6 @@ from .conftest import ( run_ocrmypdf, run_ocrmypdf_api, running_in_docker, - running_in_travis, ) # pylint: disable=redefined-outer-name @@ -214,8 +213,8 @@ def test_force_ocr_on_pdf_with_no_images(resources, no_outpdf): @pytest.mark.skipif( - is_macos() and running_in_travis(), - reason="takes too long to install language packs in Travis macOS homebrew", + is_macos(), + reason="takes too long to install language packs in macOS homebrew", ) def test_german(resources, outdir): # Produce a sidecar too - implicit test that system locale is set up