tests: remove obsolete running_in_travis()

This commit is contained in:
James R. Barlow
2021-04-07 02:25:10 -07:00
parent 9416e850ff
commit 906d77b389
2 changed files with 2 additions and 7 deletions
-4
View File
@@ -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()
+2 -3
View File
@@ -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