blob: a50bb629deabbf920fd437283714d57c20e76492 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
# A test file for XML reporting by coverage.py.
def choice(x):
if x < 2:
return 3
else:
return 4
assert choice(1) == 3
|