From ed1e497fb2315d9a768a459c133a2b0275081e9e Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Mon, 9 Jan 2006 22:36:58 +0000 Subject: [PATCH] Correct test_builtin locale handling. --- Lib/test/test_builtin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py index 62489729a05..7fdc063f1f9 100644 --- a/Lib/test/test_builtin.py +++ b/Lib/test/test_builtin.py @@ -557,7 +557,7 @@ class BuiltinTest(unittest.TestCase): # 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