diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2017-01-14 10:01:03 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2017-01-14 10:01:03 -0500 |
commit | e5c5b0eda9c000987ecafaa914ff1d0513b342ac (patch) | |
tree | df1bf4876796c426515009d4d42287abcd70c2d8 /tests/test_concurrency.py | |
parent | c9aa6917e8ae67640f14dcd302b30d2cbe234fa8 (diff) | |
download | python-coveragepy-git-e5c5b0eda9c000987ecafaa914ff1d0513b342ac.tar.gz |
Reporting doesn't work on Jython, so don't run reporting tests there.
--HG--
extra : amend_source : 144fd0ffb49fdef1139ae3f0085831ece14de43f
Diffstat (limited to 'tests/test_concurrency.py')
-rw-r--r-- | tests/test_concurrency.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_concurrency.py b/tests/test_concurrency.py index b441909f..a7dac064 100644 --- a/tests/test_concurrency.py +++ b/tests/test_concurrency.py @@ -353,9 +353,9 @@ class MultiprocessingTest(CoverageTest): """Test support of the multiprocessing module.""" def setUp(self): - if not multiprocessing: - self.skip("No multiprocessing in this Python") # pragma: only jython super(MultiprocessingTest, self).setUp() + if not multiprocessing: + self.skipTest("No multiprocessing in this Python") # pragma: only jython def try_multiprocessing_code( self, code, expected_out, the_module, concurrency="multiprocessing" |