summaryrefslogtreecommitdiff
path: root/tests/farm/html/src/partial.py
blob: cdcc64b54158c6a72af23054c03ef7e89fb9ab83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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 "no peephole".upper():
    break

while a:        # pragma: no branch
    break

if 0:
    never_happen()

if 1:
    a = 21

if a == 23:
    raise AssertionError("Can't")