On Thu, Jan 8, 2009 at 11:37, Christopher Hanley <chanley@stsci.edu> wrote:
Hi,
I've committed the following change to test_print.py to fix one of the tests.
Index: test_print.py =================================================================== --- test_print.py (revision 6302) +++ test_print.py (working copy) @@ -154,7 +154,7 @@ else: locale.setlocale(locale.LC_NUMERIC, 'FRENCH')
- assert_equal(str(tp(1.2)), str(float(1.2)), + assert_equal(locale.format("%f",tp(1.2)), locale.format("%f",float(1.2)),
Note that this does not test anything. %f coerces the input to a Python float anyways. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco