Kaydet (Commit) 9be59987 authored tarafından Georg Brandl's avatar Georg Brandl

#6206: fix test__locale.

üst a663a373
...@@ -84,8 +84,7 @@ class _LocaleTests(unittest.TestCase): ...@@ -84,8 +84,7 @@ class _LocaleTests(unittest.TestCase):
setlocale(LC_NUMERIC, loc) setlocale(LC_NUMERIC, loc)
except Error: except Error:
continue continue
for li, lc in ("decimal_point", for lc in ("decimal_point", "thousands_sep"):
"thousands_sep"):
self.numeric_tester('localeconv', localeconv()[lc], lc, loc) self.numeric_tester('localeconv', localeconv()[lc], lc, loc)
@unittest.skipUnless(nl_langinfo, "nl_langinfo is not available") @unittest.skipUnless(nl_langinfo, "nl_langinfo is not available")
......
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