diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2012-11-03 22:43:35 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2012-11-03 22:43:35 -0400 |
commit | 5feeb273bf6264547032f77c076a3f9c752023fa (patch) | |
tree | a6e549473a8db203286194203ffaabfecd151c5b /test/test_summary.py | |
parent | 2ed120a530c3563056dba02562fbf9df642d13a6 (diff) | |
download | python-coveragepy-5feeb273bf6264547032f77c076a3f9c752023fa.tar.gz |
pylint clean-up.
Diffstat (limited to 'test/test_summary.py')
-rw-r--r-- | test/test_summary.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_summary.py b/test/test_summary.py index 9db8e4e..08f7fa9 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) |