]> granicus.if.org Git - python/commitdiff
#6206: fix test__locale.
authorGeorg Brandl <georg@python.org>
Sat, 6 Jun 2009 05:54:34 +0000 (05:54 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 6 Jun 2009 05:54:34 +0000 (05:54 +0000)
Lib/test/test__locale.py

index 385d04925eb39efc8775f68ed004adfc7096adcd..0f67731f15db4c3ca5612cfdfb90aaef9b836df2 100644 (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")