We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ed6ef4 commit 1a9cd78Copy full SHA for 1a9cd78
1 file changed
July21/EffectivePython/unittesting/learning/tests/test_number.py
@@ -12,6 +12,6 @@ def test_iseven_positive():
12
13
def test_iseven_negative():
14
number_1 = Number(-2)
15
- with pytest.raises(ValueError, match='Number cannot be less than zero'):
+ with pytest.raises(ValueError, match='Number should be greater than zero'):
16
number_1.is_even()
17
0 commit comments