diff options
author | Georg Brandl <georg@python.org> | 2006-01-09 22:36:58 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2006-01-09 22:36:58 (GMT) |
commit | ed1e497fb2315d9a768a459c133a2b0275081e9e (patch) | |
tree | 698cd822c0352e57337da3735296a9016c81afcc | |
parent | b0cbf3009b2edf4487478daa85197fcab190e6a3 (diff) | |
download | cpython-ed1e497fb2315d9a768a459c133a2b0275081e9e.zip cpython-ed1e497fb2315d9a768a459c133a2b0275081e9e.tar.gz cpython-ed1e497fb2315d9a768a459c133a2b0275081e9e.tar.bz2 |
Correct test_builtin locale handling.
-rw-r--r-- | Lib/test/test_builtin.py | 2 |
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 |