From: Georg Brandl Date: Sat, 6 Jun 2009 05:54:34 +0000 (+0000) Subject: #6206: fix test__locale. X-Git-Tag: v2.7a1~1019 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9be5998760bb4a8d013a4d1e6daa9c3cc8d57586;p=thirdparty%2FPython%2Fcpython.git #6206: fix test__locale. --- diff --git a/Lib/test/test__locale.py b/Lib/test/test__locale.py index 385d04925eb3..0f67731f15db 100644 --- a/Lib/test/test__locale.py +++ b/Lib/test/test__locale.py @@ -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")