summaryrefslogtreecommitdiff
path: root/test/test_summary.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-11-29 23:10:06 -0500
committerNed Batchelder <ned@nedbatchelder.com>2012-11-29 23:10:06 -0500
commit83d8d70f2a292322f1ccfd75a00b15d9c8164abb (patch)
treea0488fb2f7f16d2c176812af395f459718b15f7a /test/test_summary.py
parent1e3987d5ac551ac9ebf6a19b404d6f23aeef75e7 (diff)
downloadpython-coveragepy-83d8d70f2a292322f1ccfd75a00b15d9c8164abb.tar.gz
Refactor a bunch of tests to isolate the recursive coverage calls.
Diffstat (limited to 'test/test_summary.py')
-rw-r--r--test/test_summary.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/test_summary.py b/test/test_summary.py
index b460c2d..e4d5e54 100644
--- a/test/test_summary.py
+++ b/test/test_summary.py
@@ -280,9 +280,7 @@ class ReportingReturnValue(CoverageTest):
""")
cov = coverage.coverage()
- cov.start()
- self.import_local_file("doit")
- cov.stop()
+ self.start_import_stop(cov, "doit")
return cov
def test_report(self):