diff --git a/Lib/test/test__locale.py b/Lib/test/test__locale.py index 385d04925eb..0f67731f15d 100644 --- a/Lib/test/test__locale.py +++ b/Lib/test/test__locale.py @@ -84,8 +84,7 @@ def test_lc_numeric_localeconv(self): 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")