test_format fails (was: Re: RELEASED Python 2.4, alpha 1)
From: Irmen de Jong (irmen_at_-nospam-remove-this-xs4all.nl)
Date: Wed, 14 Jul 2004 02:50:34 +0200
Martin v. L÷wis wrote:
> Irmen de Jong wrote:
>> I'm wondering where the u'1,000000' comes from... because when I type
>> on the interactive prompt:
>> Python 2.4a1 (#1, Jul 9 2004, 15:42:46)
>> [GCC 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)] on linux2
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> u'%f' % (1.0,)
> Does the test also fail if you run it as "python Lib/test/regrtest.py
No it does work correctly in this case.
> If not, does it fail if you run it as
> python Lib/test/regrtest.py <all test cases that are executed before
> test_format> test_format? If yes, please try to eliminate all prior
> test cases that don't contribute to the failure, and report the
> minimum sequence of test cases needed to make it fail.
I'll try when I have some time for that...
As Michael Hudson pointed out it's probably a test that
messes with the locale settings and forgets to set them back,
or some such.