Coverage for partial.py: 87%
9 statements
« prev ^ index » next coverage.py v7.5.1a0.dev1, created at 2024-04-25 08:04 -0400
« prev ^ index » next coverage.py v7.5.1a0.dev1, created at 2024-04-25 08:04 -0400
1# partial branches and excluded lines
2a = 2
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
7while a: # pragma: no branch
8 break
10if 0:
11 never_happen()
13if 13: 13 ↛ 16line 13 didn't jump to line 16, because the condition on line 13 was always true
14 a = 14
16if a == 16:
17 raise ZeroDivisionError("17")