Commit f74153cd authored by Jason R. Coombs's avatar Jason R. Coombs

Test is passing when LC_CTYPE isn't present. According to the original ticket,...

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.
parent 4af0a332
...@@ -444,7 +444,7 @@ class TestScriptHeader: ...@@ -444,7 +444,7 @@ class TestScriptHeader:
assert candidate == '#!"%s"\n' % self.exe_with_spaces assert candidate == '#!"%s"\n' % self.exe_with_spaces
@pytest.mark.xfail( @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" reason="Test fails in this locale on Python 3"
) )
def test_get_script_header_jython_workaround(self): def test_get_script_header_jython_workaround(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment