Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ed1e497

Browse files
committed
Correct test_builtin locale handling.
1 parent b0cbf30 commit ed1e497

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_builtin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ def test_float_with_comma(self):
557557
# set locale to something that doesn't use '.' for the decimal point
558558
try:
559559
import locale
560-
orig_locale = locale.setlocale(locale.LC_NUMERIC, '')
560+
orig_locale = locale.setlocale(locale.LC_NUMERIC)
561561
locale.setlocale(locale.LC_NUMERIC, 'fr_FR')
562562
except:
563563
# if we can't set the locale, just ignore this test

0 commit comments

Comments
 (0)