summaryrefslogtreecommitdiffstats
path: root/Lib/test/test__locale.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-06-06 05:54:34 (GMT)
committerGeorg Brandl <georg@python.org>2009-06-06 05:54:34 (GMT)
commit9be5998760bb4a8d013a4d1e6daa9c3cc8d57586 (patch)
treedb5e4e76c87eab8ee30c484dc7d58c16686c3607 /Lib/test/test__locale.py
parenta663a373b2f866d77155f67de8c054b352890238 (diff)
downloadcpython-9be5998760bb4a8d013a4d1e6daa9c3cc8d57586.zip
cpython-9be5998760bb4a8d013a4d1e6daa9c3cc8d57586.tar.gz
cpython-9be5998760bb4a8d013a4d1e6daa9c3cc8d57586.tar.bz2
#6206: fix test__locale.
Diffstat (limited to 'Lib/test/test__locale.py')
-rw-r--r--Lib/test/test__locale.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test__locale.py b/Lib/test/test__locale.py
index 385d049..0f67731 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")