Wierd Test Failure

J-Burns arslanburney at gmail.com
Fri Jun 20 09:15:25 CEST 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