diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2019-04-21 09:49:57 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2019-04-21 09:49:57 -0400 |
commit | f576188dc66eca4a9891f6d8bd6f8d4d006ee310 (patch) | |
tree | 71d7c4ff8de04399005f8596a6eebd0ec1edfe85 /tests/test_concurrency.py | |
parent | 7b9c1053bb75eab197acfcec53e9bb6ea7568a0e (diff) | |
download | python-coveragepy-git-f576188dc66eca4a9891f6d8bd6f8d4d006ee310.tar.gz |
Check for skipping tests before super.setUp
Diffstat (limited to 'tests/test_concurrency.py')
-rw-r--r-- | tests/test_concurrency.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_concurrency.py b/tests/test_concurrency.py index 2877b7c2..85f4a3f2 100644 --- a/tests/test_concurrency.py +++ b/tests/test_concurrency.py @@ -365,9 +365,9 @@ class MultiprocessingTest(CoverageTest): """Test support of the multiprocessing module.""" def setUp(self): - super(MultiprocessingTest, self).setUp() if not multiprocessing: self.skipTest("No multiprocessing in this Python") # pragma: only jython + super(MultiprocessingTest, self).setUp() def try_multiprocessing_code( self, code, expected_out, the_module, concurrency="multiprocessing" |