[Pythonmac-SIG] Python 2.4 test_locale fails?

Jim Correia jim.correia at gmail.com
Sun Feb 27 19:06:25 CET 2005


(New to the list, couldn't find the answer in the archives...)

I'm just getting around to building and installing Python 2.4 on
10.3.8. After building and running the tests, test_locale fails. (If I
tweak the test to not abort after the first failure I see that it
fails for the decimal_point and thousands_sep for most locales.)

Is the test faulty? Is here a bug in Python 2.4? In the 10.3.8 locale support?

The output from the test is below.

Thanks,
Jim

./python.exe ./Lib/test/test__locale.py
test_lc_numeric (__main__._LocaleTests) ... FAIL

======================================================================
FAIL: test_lc_numeric (__main__._LocaleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./Lib/test/test__locale.py", line 45, in test_lc_numeric
    "%s != %s (%s); "
AssertionError: , != . (decimal_point); supposed to be fr_FR, set to fr_FR

----------------------------------------------------------------------
Ran 1 test in 0.015s


More information about the Pythonmac-SIG mailing list