From e2de44ad1f1670a9e78db69a1f362bcd7b2484d7 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 8 Nov 2009 13:50:05 -0500 Subject: Shouldn't count multiple (-1,x) arcs as branches. --- test/test_summary.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/test_summary.py b/test/test_summary.py index bbf5f026..4e18e1d8 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%") -- cgit v1.2.1