summaryrefslogtreecommitdiff
path: root/tests/test_plugins.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
commitc5144455d0f571c002678d369ec32707c6304e1f (patch)
treedca4cabafa20065a08d071d93d904a932bb7bbbb /tests/test_plugins.py
parentd6e2d5c1034a7cc0e2bfac251bfe5b4ec8c73036 (diff)
downloadpython-coveragepy-c5144455d0f571c002678d369ec32707c6304e1f.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_plugins.py')
-rw-r--r--tests/test_plugins.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_plugins.py b/tests/test_plugins.py
index 9bb8632..48b0498 100644
--- a/tests/test_plugins.py
+++ b/tests/test_plugins.py
@@ -9,7 +9,6 @@ from coverage.control import Plugins
import coverage.plugin
-from nose.plugins.skip import SkipTest
from tests.coveragetest import CoverageTest
@@ -202,7 +201,7 @@ class FileTracerTest(CoverageTest):
def setUp(self):
super(FileTracerTest, self).setUp()
if env.C_TRACER:
- raise SkipTest("Need Python tracer for plugin tests")
+ self.skip("Need Python tracer for plugin tests")
def test_plugin1(self):
self.make_file("simple.py", """\