Source

coverage.py / tests / farm / html / src / y.py

1
2
3
4
5
6
7
8
9
# A test file for XML reporting by coverage.

def choice(x):
    if x < 2:
        return 3
    else:
        return 4

assert choice(1) == 3