Wierd Test Failure

J-Burns arslanburney at gmail.com
Fri Jun 20 03:15:25 EDT 2008


Hello. Im using doctests to check the functions that ive made. Wat i
dnt understand is that it gives me a fialure even though the expected
and got values are the same. Check this out:

**********************************************************************
File "C:\Python25\Lib\idlelib\idle.pyw", line ?, in
__main__.Test.test8
Failed example:
    Test.test8()
Expected:
    True
Got:
    True
**********************************************************************

If both the values are returning True how is it possible for the test
to fail? :S



More information about the Python-list mailing list