summaryrefslogtreecommitdiff
path: root/tests/test_process.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-11-17 19:47:18 -0500
committerNed Batchelder <ned@nedbatchelder.com>2016-11-17 19:47:18 -0500
commit5e5407bc94f9f8828d2f814fb39934c0ce91f159 (patch)
treea9fa9db7a8b02045cc0e141afdf613b4506fb0c1 /tests/test_process.py
parent5b3638f1c72ea75c48b549fa81031a5114f81c50 (diff)
downloadpython-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.py3
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