1def one(x):
2 # This will be a branch that misses the else.
- 3 if x < 2: 3 ↛ 6line 3 didn't jump to line 6, because the condition on line 3 was never false
+ 3 if x < 2: 3 ↛ 6line 3 didn't jump to line 6, because the condition on line 3 was always true
4 a = 3
5 else:
6 a = 4
@@ -93,7 +93,7 @@
9
10def two(x):
11 # A missed else that branches to "exit"
- 12 if x: 12 ↛ exitline 12 didn't return from function 'two', because the condition on line 12 was never false
+ 12 if x: 12 ↛ exitline 12 didn't return from function 'two', because the condition on line 12 was always true
13 a = 5
14
15two(1)
@@ -101,7 +101,7 @@
17def three():
18 try:
19 # This if has two branches, *neither* one taken.
- 20 if name_error_this_variable_doesnt_exist: 20 ↛ 21, 20 ↛ 232 missed branches: 1) line 20 didn't jump to line 21, because the condition on line 20 was never true, 2) line 20 didn't jump to line 23, because the condition on line 20 was never false
+ 20 if name_error_this_variable_doesnt_exist: 20 ↛ 21, 20 ↛ 232 missed branches: 1) line 20 didn't jump to line 21, because the condition on line 20 was never true, 2) line 20 didn't jump to line 23, because the condition on line 20 was always true
21 a = 1
22 else:
23 a = 2
@@ -118,7 +118,7 @@
» next
coverage.py v7.5.1a0.dev1,
- created at 2024-04-24 09:22 -0400
+ created at 2024-04-25 08:04 -0400
diff --git a/tests/gold/html/partial/partial_py.html b/tests/gold/html/partial/partial_py.html
index def976c35..765851e77 100644
--- a/tests/gold/html/partial/partial_py.html
+++ b/tests/gold/html/partial/partial_py.html
@@ -67,7 +67,7 @@
» next
coverage.py v7.5.1a0.dev1,
- created at 2024-04-24 10:14 -0400
+ created at 2024-04-25 08:07 -0400