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

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 

# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt 

 

# partial branches and excluded lines 

 

a = 6 

 

while True: 

break 

 

while 1: 

break 

 

while a: # pragma: no branch 

break 

 

if 0: 

never_happen() 

 

if 1: 

a = 21 

 

if a == 23: 

raise AssertionError("Can't")