From f74153cd1cfee6bef9a8628937fa2eee7d2da4c5 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sat, 3 Jan 2015 03:01:02 -0500 Subject: Test is passing when LC_CTYPE isn't present. According to the original ticket, Distribute 103, this test was only failing for "C" and "POSIX", so only expect the failure there. --- setuptools/tests/test_easy_install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setuptools') diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py index b364eca2..834b83e4 100644 --- a/setuptools/tests/test_easy_install.py +++ b/setuptools/tests/test_easy_install.py @@ -444,7 +444,7 @@ class TestScriptHeader: assert candidate == '#!"%s"\n' % self.exe_with_spaces @pytest.mark.xfail( - compat.PY3 and os.environ.get("LC_CTYPE") in (None, "C", "POSIX"), + compat.PY3 and os.environ.get("LC_CTYPE") in ("C", "POSIX"), reason="Test fails in this locale on Python 3" ) def test_get_script_header_jython_workaround(self): -- cgit v1.2.3