Coverage for partial.py: 87%

9 statements  

« prev     ^ index     » next       coverage.py v7.6.0a0.dev1, created at 2024-07-10 12:20 -0400

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 always true

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 always true

14 a = 14 

15 

16if a == 16: 

17 raise ZeroDivisionError("17")