summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2017-06-23 09:00:31 -0400
committerNed Batchelder <ned@nedbatchelder.com>2017-06-23 09:00:31 -0400
commitced663f7776b00a1aeb4d9cd4daa20e0c052b018 (patch)
tree066991eb925e73890b2e6d9412fb4d9d7ccb978b
parenta7c7cdf0dd73c44b68ded37e2a7feb1e8f3e03db (diff)
downloadpython-coveragepy-ced663f7776b00a1aeb4d9cd4daa20e0c052b018.tar.gz
Jython 2.7.1rc3 needs
-rw-r--r--tests/test_process.py3
-rw-r--r--tox.ini1
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_process.py b/tests/test_process.py
index 8a0f4e3..6ec2758 100644
--- a/tests/test_process.py
+++ b/tests/test_process.py
@@ -600,6 +600,9 @@ class ProcessTest(CoverageTest):
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")
+ if env.JYTHON:
+ # Jython as of 2.7.1rc3 won't compile a filename that isn't utf8.
+ self.skipTest("Jython 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
diff --git a/tox.ini b/tox.ini
index cbb745a..7fd47df 100644
--- a/tox.ini
+++ b/tox.ini
@@ -30,6 +30,7 @@ passenv = *
setenv =
pypy,pypy{2,3}: COVERAGE_NO_CTRACER=no C extension under PyPy
jython: COVERAGE_NO_CTRACER=no C extension under Jython
+ jython: PYTEST_ADDOPTS=-n 0
commands =
python setup.py --quiet clean develop