From 3d4f80639d4a6074e7c25c561433d2261a61e5fd Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Sat, 11 Jun 2022 15:39:37 -0700 Subject: [PATCH] Remove test that is now always skipped --- tests/test_stdio.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tests/test_stdio.py b/tests/test_stdio.py index a57c713a..440a8dc1 100644 --- a/tests/test_stdio.py +++ b/tests/test_stdio.py @@ -53,19 +53,6 @@ def test_stdout(ocrmypdf_exec, resources, outpdf): assert check_pdf(output_file) -@pytest.mark.skipif(sys.version_info >= (3, 7, 0), reason='better utf-8') -@pytest.mark.skipif( - Path('/etc/alpine-release').exists(), reason="invalid test on alpine" -) -@pytest.mark.skipif(os.name == 'nt', reason="invalid test on Windows") -def test_bad_locale(monkeypatch): - monkeypatch.setenv('LC_ALL', 'C') - p = run_ocrmypdf('a', 'b') - assert p.stdout == '', "stdout not clean" - assert p.returncode != 0 - assert 'configured to use ASCII as encoding' in p.stderr, "should whine" - - @pytest.mark.xfail( os.name == 'nt' and sys.version_info < (3, 8), reason="Windows does not like this; not sure how to fix",