#6206: fix test__locale.

This commit is contained in:
Georg Brandl 2009-06-06 05:54:34 +00:00
parent a663a373b2
commit 9be5998760

View file

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