summaryrefslogtreecommitdiff
path: root/test/test_testplugin.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2010-05-30 14:52:44 -0400
committerNed Batchelder <ned@nedbatchelder.com>2010-05-30 14:52:44 -0400
commit60a58a0c6fe7536a7a2641a44c1649b9aa7bc766 (patch)
tree570454463b2cb2628708d016ef9c207e086a1135 /test/test_testplugin.py
parent02adbba0489d0ff1f02677dd2cb8c4551020ddc1 (diff)
downloadpython-coveragepy-60a58a0c6fe7536a7a2641a44c1649b9aa7bc766.tar.gz
Refactor the common parts of the plugins to neutral territory.
Diffstat (limited to 'test/test_testplugin.py')
-rw-r--r--test/test_testplugin.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test_testplugin.py b/test/test_testplugin.py
index 98459f5..2a38b86 100644
--- a/test/test_testplugin.py
+++ b/test/test_testplugin.py
@@ -18,10 +18,11 @@ class TestCoverage(PluginTester, unittest.TestCase):
raise ValueError("Coverage down")
return unittest.TestSuite([TC()])
+
pytest_plugins = ['pytester']
def test_functional(testdir):
testdir.makepyfile("""
- def f():
+ def f():
x = 42
def test_whatever():
pass
@@ -33,4 +34,4 @@ def test_functional(testdir):
])
coveragefile = testdir.tmpdir.join(".coverage")
assert coveragefile.check()
- # XXX try loading it?
+ # XXX try loading it?