I'll add some equivalent functionality to unittest.py. ----- Original Message ----- From: "Skip Montanaro" <skip@pobox.com> To: <rhettinger@users.sourceforge.net> Cc: <python-checkins@python.org> Sent: Saturday, December 28, 2002 11:11 PM Subject: Re: [Python-checkins] python/nondist/sandbox/twister test_random.py,1.1,1.2 >> Raymond> To accomodate single precision platforms, only test to seven > Raymond> digits. >> The SciPy folks have added an assertAlmostEqual method to their unit tests. > I believe it more-or-less just wraps what you've done in a callable method > (which takes a number of digits of precision). Might be a good idea to add > something like it to unittest.py so the wheel doesn't keep getting > reinvented. They actually have a few variants, coded as functions here: >> http://www.scipy.org/site_content/remap?rmurl=http%3A//scipy.net/cgi-bin/viewcvsx.cgi/scipy/scipy_test/testing.py >> Skip >> _______________________________________________ > Python-checkins mailing list > Python-checkins@python.org > http://mail.python.org/mailman/listinfo/python-checkins