summaryrefslogtreecommitdiff
path: root/tests/test_plugins.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_plugins.py')
-rw-r--r--tests/test_plugins.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_plugins.py b/tests/test_plugins.py
index fe43c4c0..8ea0a8f5 100644
--- a/tests/test_plugins.py
+++ b/tests/test_plugins.py
@@ -248,7 +248,7 @@ class PluginWarningOnPyTracer(CoverageTest):
"""Test that we get a controlled exception with plugins on PyTracer."""
def test_exception_if_plugins_on_pytracer(self):
if env.C_TRACER:
- self.skip("This test is only about PyTracer.")
+ self.skipTest("This test is only about PyTracer.")
self.make_file("simple.py", """a = 1""")
@@ -268,7 +268,7 @@ class FileTracerTest(CoverageTest):
def setUp(self):
super(FileTracerTest, self).setUp()
if not env.C_TRACER:
- self.skip("Plugins are only supported with the C tracer.")
+ self.skipTest("Plugins are only supported with the C tracer.")
class GoodPluginTest(FileTracerTest):