[Python-checkins] r41990 - python/trunk/Lib/test/test_builtin.py

georg.brandl python-checkins at python.org
Mon Jan 9 23:36:59 CET 2006


Author: georg.brandl
Date: Mon Jan  9 23:36:58 2006
New Revision: 41990

Modified:
   python/trunk/Lib/test/test_builtin.py
Log:
Correct test_builtin locale handling.



Modified: python/trunk/Lib/test/test_builtin.py
==============================================================================
--- python/trunk/Lib/test/test_builtin.py	(original)
+++ python/trunk/Lib/test/test_builtin.py	Mon Jan  9 23:36:58 2006
@@ -557,7 +557,7 @@
         # set locale to something that doesn't use '.' for the decimal point
         try:
             import locale
-            orig_locale = locale.setlocale(locale.LC_NUMERIC, '')
+            orig_locale = locale.setlocale(locale.LC_NUMERIC)
             locale.setlocale(locale.LC_NUMERIC, 'fr_FR')
         except:
             # if we can't set the locale, just ignore this test


More information about the Python-checkins mailing list