Tim Head wrote: > It feels wrong to write >>>> foo(0.1) > 0.10000000000000001 doctest lets you install your own output checker that can compare the expected and actual output more intelligently. For an example, see http://svn.zope.org/zope.testing/trunk/src/zope/testing/renormalizing.py?view=markup -- Benji York http://benjiyork.com