diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-02-02 23:03:47 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-02-02 23:03:47 -0500 |
commit | 259ebf2511f3b0f06ef30c05f6f265ea0a159128 (patch) | |
tree | 11029f8e82ceb2477d1c2e9b6a09fd769dc020e1 /tests/test_summary.py | |
parent | 71648ff153357e94be4c932d36a11e0b8bc5c5f5 (diff) | |
download | python-coveragepy-259ebf2511f3b0f06ef30c05f6f265ea0a159128.tar.gz |
Clean up some pylint complaints
Diffstat (limited to 'tests/test_summary.py')
-rw-r--r-- | tests/test_summary.py | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/tests/test_summary.py b/tests/test_summary.py index 6fc4fc8..6448216 100644 --- a/tests/test_summary.py +++ b/tests/test_summary.py @@ -37,13 +37,13 @@ class SummaryTest(CoverageTest): self.assertEqual(out, 'done\n') report = self.report_from_command("coverage report") - # Name Stmts Miss Cover - # ------------------------------------------------------------------------ - # c:/ned/coverage/trunk/tests/modules/covmod1.py 2 0 100% - # c:/ned/coverage/trunk/tests/zipmods.zip/covmodzip1.py 2 0 100% - # mycode.py 4 0 100% - # ------------------------------------------------------------------------ - # TOTAL 8 0 100% + # Name Stmts Miss Cover + # ------------------------------------------------------------------ + # c:/ned/coverage/tests/modules/covmod1.py 2 0 100% + # c:/ned/coverage/tests/zipmods.zip/covmodzip1.py 2 0 100% + # mycode.py 4 0 100% + # ------------------------------------------------------------------ + # TOTAL 8 0 100% self.assertNotIn("/coverage/__init__/", report) self.assertIn("/tests/modules/covmod1.py ", report) @@ -211,12 +211,12 @@ class SummaryTest(CoverageTest): self.assertEqual(out, 'x\ny\n') report = self.report_from_command("coverage report --show-missing") - # Name Stmts Miss Branch BrPart Cover Missing - # ---------------------------------------------------------- - # main.py 1 0 0 0 100% - # mybranch.py 10 2 8 3 61% 7-8, 2->4, 4->6, 6->7 - # ---------------------------------------------------------- - # TOTAL 11 2 8 3 63% + # Name Stmts Miss Branch BrPart Cover Missing + # ------------------------------------------------------- + # main.py 1 0 0 0 100% + # mybranch.py 10 2 8 3 61% 7-8, 2->4, 4->6, 6->7 + # ------------------------------------------------------- + # TOTAL 11 2 8 3 63% self.assertEqual(self.line_count(report), 6) squeezed = self.squeezed_lines(report) |