diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2009-11-08 13:50:05 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-11-08 13:50:05 -0500 |
commit | 8f6da482a2bef7a22a2d704eab98150f40b07211 (patch) | |
tree | 540eff56492b2f91797048d939fdc88f1d5c320e /test/test_summary.py | |
parent | 5ebfcb2f451bbb4c88072e2da996cfc2729640d8 (diff) | |
download | python-coveragepy-8f6da482a2bef7a22a2d704eab98150f40b07211.tar.gz |
Shouldn't count multiple (-1,x) arcs as branches.
Diffstat (limited to 'test/test_summary.py')
-rw-r--r-- | test/test_summary.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_summary.py b/test/test_summary.py index bbf5f02..4e18e1d 100644 --- a/test/test_summary.py +++ b/test/test_summary.py @@ -99,8 +99,8 @@ class SummaryTest(CoverageTest): # Name Stmts Exec Branch BrExec Cover # -------------------------------------------- - # mybranch 5 5 4 3 88% + # mybranch 5 5 2 1 85% self.assertEqual(self.line_count(report), 3) self.assert_("mybranch " in report) - self.assertEqual(self.last_line_squeezed(report), "mybranch 5 5 4 3 88%") + self.assertEqual(self.last_line_squeezed(report), "mybranch 5 5 2 1 85%") |