March 2003
Intermediate to advanced
656 pages
39h 30m
English
assert_, failUnless
t.assert_(condition,msg=None)Fails and outputs msg if
condition is false, otherwise does
nothing. The underscore in the name is needed because
assert is a Python keyword.
failUnless is a synonym.