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 f63d74b commit b6be5f9Copy full SHA for b6be5f9
exercises/020-factorial/test.py
@@ -13,7 +13,7 @@ def test_factorial_exists(app):
13
def test_function_return(capsys, app):
14
assert app.factorial(8) != None
15
16
-@pytest.mark.it('The function must return a tuple')
+@pytest.mark.it('The function must return a number')
17
def test_function_return_type(capsys, app):
18
assert type(app.factorial(8)) == type(1)
19
@@ -36,4 +36,5 @@ def test_factorial_1(app):
36
try:
37
assert app.factorial(1) == 1
38
except AttributeError:
39
- raise AttributeError("The function 'factorial' should return the value 1")
+ raise AttributeError("The function 'factorial' should return the value 1")
40
+
0 commit comments