summaryrefslogtreecommitdiff
path: root/test/test_summary.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-11-03 22:43:35 -0400
committerNed Batchelder <ned@nedbatchelder.com>2012-11-03 22:43:35 -0400
commit327426896a6fdd2dc53543c35eb8ab1097d51cd4 (patch)
tree8a1694818a1ab45b3a65ed14a4234eb1e24ccf76 /test/test_summary.py
parent99a352c787ad1b214b601b7cbc7c5c82fd9b84fe (diff)
downloadpython-coveragepy-git-327426896a6fdd2dc53543c35eb8ab1097d51cd4.tar.gz
pylint clean-up.
Diffstat (limited to 'test/test_summary.py')
-rw-r--r--test/test_summary.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_summary.py b/test/test_summary.py
index 9db8e4eb..08f7fa9e 100644
--- a/test/test_summary.py
+++ b/test/test_summary.py
@@ -212,7 +212,10 @@ class SummaryTest2(CoverageTest):
class ReportingReturnValue(CoverageTest):
+ """Tests of reporting functions returning values."""
+
def run_coverage(self):
+ """Run coverage on doit.py and return the coverage object."""
self.make_file("doit.py", """\
a = 1
b = 2
@@ -231,7 +234,6 @@ class ReportingReturnValue(CoverageTest):
def test_report(self):
cov = self.run_coverage()
- repout = StringIO()
val = cov.report(include="*/doit.py")
self.assertAlmostEqual(val, 85.7, 1)