--(1)--
--(2)--
**********************************************************************
Line 13, in __main__.hello
Failed example:
hello(10)
Expected:
100
Got:
20
**********************************************************************
1 items had failures:
1 of 1 in __main__.hello
***Test Failed*** 1 failures.
*** DocTestRunner.merge: '__main__.hello' in both testers; summing outcomes.
*** DocTestRunner.merge: '__main__' in both testers; summing outcomes.
--(3)--
**********************************************************************
Line 25, in __main__.hello
Failed example:
nyalo(20)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.5/doctest.py", line 1212, in __run
compileflags, 1) in test.globs
File "<doctest __main__.hello[1]>", line 1, in <module>
nyalo(20)
NameError: name 'nyalo' is not defined
**********************************************************************
1 items had failures:
1 of 2 in __main__.hello
***Test Failed*** 1 failures.
*** DocTestRunner.merge: '__main__.hello' in both testers; summing outcomes.
*** DocTestRunner.merge: '__main__' in both testers; summing outcomes.
--(4)--
**********************************************************************
Line 35, in __main__.hello
Failed example:
hello(10)
Expected:
100
Got nothing
**********************************************************************
Line 37, in __main__.hello
Failed example:
hello(20)
Expected:
400
Got nothing
**********************************************************************
1 items had failures:
2 of 2 in __main__.hello
***Test Failed*** 2 failures.
*** DocTestRunner.merge: '__main__.hello' in both testers; summing outcomes.
*** DocTestRunner.merge: '__main__' in both testers; summing outcomes.
--(5)--
*** DocTestRunner.merge: '__main__.hello' in both testers; summing outcomes.
*** DocTestRunner.merge: '__main__' in both testers; summing outcomes.