diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2016-11-17 19:47:18 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2016-11-17 19:47:18 -0500 |
commit | 5e5407bc94f9f8828d2f814fb39934c0ce91f159 (patch) | |
tree | a9fa9db7a8b02045cc0e141afdf613b4506fb0c1 /tests/test_process.py | |
parent | 5b3638f1c72ea75c48b549fa81031a5114f81c50 (diff) | |
download | python-coveragepy-5e5407bc94f9f8828d2f814fb39934c0ce91f159.tar.gz |
Python 3.3 fails on the LANG=C test. Skip it.
Diffstat (limited to 'tests/test_process.py')
-rw-r--r-- | tests/test_process.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_process.py b/tests/test_process.py index 1a11c14..cc91bd0 100644 --- a/tests/test_process.py +++ b/tests/test_process.py @@ -722,6 +722,9 @@ class ProcessTest(CoverageTest): self.assertGreater(data.line_counts()['os.py'], 50) def test_lang_c(self): + if env.PY3 and sys.version_info < (3, 4): + # Python 3.3 can't compile the non-ascii characters in the file name. + self.skipTest("3.3 can't handle this test") # LANG=C forces getfilesystemencoding on Linux to 'ascii', which causes # failures with non-ascii file names. We don't want to make a real file # with strange characters, though, because that gets the test runners |