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 | ba5cd94510b9d9a0018cae3985d277a1b4b186e9 (patch) | |
tree | 541ddd596f748c4ade3d716982a616838d628da1 /tests/test_process.py | |
parent | 001a1fe48ddcb61779b4174d1dcca0b8c4f706e0 (diff) | |
download | python-coveragepy-git-ba5cd94510b9d9a0018cae3985d277a1b4b186e9.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 1a11c144..cc91bd0c 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 |