diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_coverage.py | 10 | ||||
-rw-r--r-- | tests/test_summary.py | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/test_coverage.py b/tests/test_coverage.py index 00648c18..30a8edc5 100644 --- a/tests/test_coverage.py +++ b/tests/test_coverage.py @@ -732,7 +732,7 @@ class CompoundStatementTest(CoverageTest): z = 7 assert x == 3 """, - [1,2,3,4,5,7,8], "4-7", report="7 3 4 1 45% 2->4, 4-7", + [1,2,3,4,5,7,8], "4-7", report="7 3 4 1 45% 4-7", ) self.check_coverage("""\ a = 1; b = 2; c = 3; @@ -744,7 +744,7 @@ class CompoundStatementTest(CoverageTest): z = 7 assert y == 5 """, - [1,2,3,4,5,7,8], "3, 7", report="7 2 4 2 64% 2->3, 3, 4->7, 7", + [1,2,3,4,5,7,8], "3, 7", report="7 2 4 2 64% 3, 7", ) self.check_coverage("""\ a = 1; b = 2; c = 3; @@ -756,7 +756,7 @@ class CompoundStatementTest(CoverageTest): z = 7 assert z == 7 """, - [1,2,3,4,5,7,8], "3, 5", report="7 2 4 2 64% 2->3, 3, 4->5, 5", + [1,2,3,4,5,7,8], "3, 5", report="7 2 4 2 64% 3, 5", ) def test_elif_no_else(self): @@ -768,7 +768,7 @@ class CompoundStatementTest(CoverageTest): y = 5 assert x == 3 """, - [1,2,3,4,5,6], "4-5", report="6 2 4 1 50% 2->4, 4-5", + [1,2,3,4,5,6], "4-5", report="6 2 4 1 50% 4-5", ) self.check_coverage("""\ a = 1; b = 2; c = 3; @@ -778,7 +778,7 @@ class CompoundStatementTest(CoverageTest): y = 5 assert y == 5 """, - [1,2,3,4,5,6], "3", report="6 1 4 2 70% 2->3, 3, 4->6", + [1,2,3,4,5,6], "3", report="6 1 4 2 70% 3, 4->6", ) def test_elif_bizarre(self): diff --git a/tests/test_summary.py b/tests/test_summary.py index 3be1e869..8596c45c 100644 --- a/tests/test_summary.py +++ b/tests/test_summary.py @@ -280,7 +280,7 @@ class SummaryTest(UsingModulesMixin, CoverageTest): 'Name Stmts Miss Branch BrPart Cover Missing', '---------------------------------------------------------', 'main.py 1 0 0 0 100%', - 'mybranch.py 10 2 8 3 61% 2->4, 4->6, 6->7, 7-8', + 'mybranch.py 10 2 8 3 61% 2->4, 4->6, 7-8', '---------------------------------------------------------', 'TOTAL 11 2 8 3 63%', ] |