Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e73a0d commit 026e185Copy full SHA for 026e185
11_bottles_of_beer/test.py
@@ -32,7 +32,7 @@ def test_usage():
32
def test_bad_int():
33
"""Bad integer value"""
34
35
- bad = random.randint(-10, 1)
+ bad = random.randint(-10, 0)
36
rv, out = getstatusoutput(f'{prg} -n {bad}')
37
assert rv != 0
38
assert re.search(f'--num "{bad}" must be greater than 0', out)
0 commit comments