summaryrefslogtreecommitdiff
path: root/tests/test_concurrency.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-02-07 10:53:13 -0500
committerNed Batchelder <ned@nedbatchelder.com>2015-02-07 10:53:13 -0500
commit7d95e303613cfbbc9067f4813c641c61aa251dc8 (patch)
tree7e2154fb47a6f0529f8edbe1a63d0ecee157778e /tests/test_concurrency.py
parent488981cbf86c58ec4aadcfe6b151eb50b7bf7fdf (diff)
downloadpython-coveragepy-git-7d95e303613cfbbc9067f4813c641c61aa251dc8.tar.gz
Fully embrace SkipTest with our own method.
Also, no test is conditionally defined. They call self.skip if they should be skippped.
Diffstat (limited to 'tests/test_concurrency.py')
-rw-r--r--tests/test_concurrency.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/test_concurrency.py b/tests/test_concurrency.py
index b7c1364d..9a82a0cc 100644
--- a/tests/test_concurrency.py
+++ b/tests/test_concurrency.py
@@ -4,8 +4,6 @@ import os
import os.path
import threading
-from nose.plugins.skip import SkipTest
-
import coverage
from coverage import env
@@ -230,7 +228,7 @@ class MultiprocessingTest(CoverageTest):
# Currently, this doesn't work on Windows, something about pickling
# the monkey-patched Process class?
if env.WINDOWS:
- raise SkipTest
+ self.skip("Multiprocessing support doesn't work on Windows")
def test_multiprocessing(self):
self.make_file("multi.py", """\