May i customize basic operator (such as 1==3)?

Kent Johnson kent at kentsjohnson.com
Wed Feb 22 06:07:35 EST 2006


Thomas Heller wrote:

> The standard unittest module can do this also:  replace
> calls to failUnless(a == b) with failUnlessEqual(a, b).

or assertEquals(a, b)



More information about the Python-list mailing list