Skip to content

Commit e15b9df

Browse files
committed
calc extension
1 parent ad880d8 commit e15b9df

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/calculatorTest.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
from _extensions import *
66

7-
@t.passed(doctest_ok, hide=False)
7+
@t.passed(doctest_ok)
88
@t.test(10)
99
def checks_answer0(test):
1010
"""3 + 5 = 8.0"""
@@ -14,7 +14,7 @@ def testMethod():
1414
return asserts.exact(output.strip(), "8.0")
1515
test.test = testMethod
1616

17-
@t.passed(doctest_ok, hide=False)
17+
@t.passed(doctest_ok)
1818
@t.test(20)
1919
def checks_answer1(test):
2020
"""19 - 6 = 13.0"""
@@ -24,7 +24,7 @@ def testMethod():
2424
return asserts.exact(output.strip(), "13.0")
2525
test.test = testMethod
2626

27-
@t.passed(doctest_ok, hide=False)
27+
@t.passed(doctest_ok)
2828
@t.test(30)
2929
def checks_answer2(test):
3030
"""6 - 19 = -13.0"""
@@ -35,7 +35,7 @@ def testMethod():
3535
test.test = testMethod
3636

3737

38-
@t.passed(doctest_ok, hide=False)
38+
@t.passed(doctest_ok)
3939
@t.test(40)
4040
def checks_answer3(test):
4141
"""12 * 23 = 276.0"""
@@ -45,7 +45,7 @@ def testMethod():
4545
return asserts.exact(output.strip(), "276.0")
4646
test.test = testMethod
4747

48-
@t.passed(doctest_ok, hide=False)
48+
@t.passed(doctest_ok)
4949
@t.test(50)
5050
def checks_answer4(test):
5151
"""6 / 4 = 1.5"""
@@ -55,7 +55,7 @@ def testMethod():
5555
return asserts.exact(output.strip(), "1.5")
5656
test.test = testMethod
5757

58-
@t.passed(doctest_ok, hide=False)
58+
@t.passed(doctest_ok)
5959
@t.test(60)
6060
def checks_answer5(test):
6161
"""-8 * 12 = -96.0"""

0 commit comments

Comments
 (0)