We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ed58af commit 76b4d16Copy full SHA for 76b4d16
src/test_sonar/test_fib.py
@@ -9,6 +9,7 @@ def test_fib(n, expected):
9
assert fib(n) == expected
10
11
def test_negative():
12
+ """Test we get a good error message for negative input."""
13
from test_sonar import fib
14
15
with pytest.raises(ValueError, match="n must be >=0, got -1"):
0 commit comments