From 212489d1c3fdc3445e8733bf8974339929e58df7 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Thu, 7 Jan 2021 09:50:28 -0500 Subject: Need new gold files for pep626 partial branch HTML report --- tests/gold/html/partial_626/index.html | 93 +++++++++++++++++++++++++++++ tests/gold/html/partial_626/partial_py.html | 83 +++++++++++++++++++++++++ 2 files changed, 176 insertions(+) create mode 100644 tests/gold/html/partial_626/index.html create mode 100644 tests/gold/html/partial_626/partial_py.html (limited to 'tests/gold') diff --git a/tests/gold/html/partial_626/index.html b/tests/gold/html/partial_626/index.html new file mode 100644 index 00000000..f1b1465e --- /dev/null +++ b/tests/gold/html/partial_626/index.html @@ -0,0 +1,93 @@ + + + + + Coverage report + + + + + + + + + + + +
+ Hide keyboard shortcuts +

Hot-keys on this page

+
+

+ n + s + m + x + b + p + c   change column sorting +

+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Modulestatementsmissingexcludedbranchespartialcoverage
Total9016287%
partial.py9016287%
+

+ No items found using the specified filter. +

+
+ + + diff --git a/tests/gold/html/partial_626/partial_py.html b/tests/gold/html/partial_626/partial_py.html new file mode 100644 index 00000000..adb0aaf0 --- /dev/null +++ b/tests/gold/html/partial_626/partial_py.html @@ -0,0 +1,83 @@ + + + + + + Coverage for partial.py: 87% + + + + + + + + + + +
+ Hide keyboard shortcuts +

Hot-keys on this page

+
+

+ r + m + x + p   toggle line displays +

+

+ j + k   next/prev highlighted chunk +

+

+ 0   (zero) top of page +

+

+ 1   (one) first highlighted chunk +

+
+
+
+

1# partial branches and excluded lines 

+

2a = 2 

+

3 

+

4while "no peephole".upper(): # t4 4 ↛ 7line 4 didn't jump to line 7, because the condition on line 4 was never false

+

5 break 

+

6 

+

7while a: # pragma: no branch 

+

8 break 

+

9 

+

10if 0: 

+

11 never_happen() 

+

12 

+

13if 13: 13 ↛ 16line 13 didn't jump to line 16, because the condition on line 13 was never false

+

14 a = 14 

+

15 

+

16if a == 16: 

+

17 raise ZeroDivisionError("17") 

+
+ + + -- cgit v1.2.1