Commit ee697f22 authored by Georg Brandl's avatar Georg Brandl

Correct test_builtin locale handling.

parent 8cc762b4
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment