Index: Lib/test/test__locale.py =================================================================== --- Lib/test/test__locale.py (revision 73248) +++ Lib/test/test__locale.py (working copy) @@ -84,8 +84,8 @@ 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")