summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_argparse.py
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2010-12-04 17:31:49 (GMT)
committerÉric Araujo <merwok@netwok.org>2010-12-04 17:31:49 (GMT)
commit1215915045d620d44e14ba12af8949f8ec700b5d (patch)
tree825361ae1cf240c36f075e6db80f24d408928c88 /Lib/test/test_argparse.py
parent13d49ee7d6a44af656fd77713342e419ec57e4a5 (diff)
downloadcpython-1215915045d620d44e14ba12af8949f8ec700b5d.zip
cpython-1215915045d620d44e14ba12af8949f8ec700b5d.tar.gz
cpython-1215915045d620d44e14ba12af8949f8ec700b5d.tar.bz2
Use proper plural forms in argparse (#4391)
Diffstat (limited to 'Lib/test/test_argparse.py')
-rw-r--r--Lib/test/test_argparse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_argparse.py b/Lib/test/test_argparse.py
index 7e76237..0b7ed5e 100644
--- a/Lib/test/test_argparse.py
+++ b/Lib/test/test_argparse.py
@@ -4315,7 +4315,7 @@ class TestImportStar(TestCase):
items = [
name
for name, value in vars(argparse).items()
- if not name.startswith("_")
+ if not (name.startswith("_") or name == 'ngettext')
if not inspect.ismodule(value)
]
self.assertEqual(sorted(items), sorted(argparse.__all__))