summaryrefslogtreecommitdiff
path: root/tests/farm/html/src/partial.py
blob: 0f8fbe3cc54a5d85a5caacdd0381d045ccfac87c (plain)
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://bitbucket.org/ned/coveragepy/src/default/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")