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
commit691159a39ff5f5211656fd82906a1acd9d6acdfb (patch)
treeef68baa4c2d7db2a678ef7e565969eb940ee0c36 /test/test_testplugin.py
parentc03628367b660ff2b52d6f88105fda75e5b080c8 (diff)
downloadpython-coveragepy-git-691159a39ff5f5211656fd82906a1acd9d6acdfb.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 98459f53..2a38b86c 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?