diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2010-08-22 23:18:14 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2010-08-22 23:18:14 -0400 |
| commit | 32320cabc97ccca3f2492faa55b542c4a158c2c9 (patch) | |
| tree | 787b10a7e7c1f1ce4b24e13f68c8b0b85e48f5de /test/test_summary.py | |
| parent | 98ca1822da51c3c73201d04966656e605c21a6a5 (diff) | |
| download | python-coveragepy-32320cabc97ccca3f2492faa55b542c4a158c2c9.tar.gz | |
Unify formatting of coverage percentages, and don't show zero or 100 as a result of rounding. Fixes #41 and #70.
Diffstat (limited to 'test/test_summary.py')
| -rw-r--r-- | test/test_summary.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_summary.py b/test/test_summary.py index 0d7db40..db440f8 100644 --- a/test/test_summary.py +++ b/test/test_summary.py @@ -109,7 +109,7 @@ class SummaryTest(CoverageTest): self.assertEqual(self.line_count(report), 3) self.assertTrue("mybranch " in report) self.assertEqual(self.last_line_squeezed(report), - "mybranch 5 0 2 1 85%") + "mybranch 5 0 2 1 86%") class SummaryTest2(CoverageTest): """Another bunch of summary tests.""" |
