summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-01-09 22:36:58 (GMT)
committerGeorg Brandl <georg@python.org>2006-01-09 22:36:58 (GMT)
commited1e497fb2315d9a768a459c133a2b0275081e9e (patch)
tree698cd822c0352e57337da3735296a9016c81afcc /Lib
parentb0cbf3009b2edf4487478daa85197fcab190e6a3 (diff)
downloadcpython-ed1e497fb2315d9a768a459c133a2b0275081e9e.zip
cpython-ed1e497fb2315d9a768a459c133a2b0275081e9e.tar.gz
cpython-ed1e497fb2315d9a768a459c133a2b0275081e9e.tar.bz2
Correct test_builtin locale handling.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_builtin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py
index 6248972..7fdc063 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