summaryrefslogtreecommitdiff
path: root/Lib/test/test_optparse.py
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-03-20 19:59:25 +0100
committerÉric Araujo <merwok@netwok.org>2011-03-20 19:59:25 +0100
commit5f7886dc6adfcd6e5f3d493f87474e349c554b38 (patch)
tree1b9224396866c24f823e8e09086a5f20dd8c3965 /Lib/test/test_optparse.py
parent29fec7d522a3b9029069d56629e724e809e6ee5c (diff)
downloadcpython-5f7886dc6adfcd6e5f3d493f87474e349c554b38.tar.gz
Use proper gettext plural forms in optparse (closes #4391).
Original patch by Dwayne Bailey.
Diffstat (limited to 'Lib/test/test_optparse.py')
-rw-r--r--Lib/test/test_optparse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_optparse.py b/Lib/test/test_optparse.py
index 7b95612024..61f44ee06d 100644
--- a/Lib/test/test_optparse.py
+++ b/Lib/test/test_optparse.py
@@ -631,7 +631,7 @@ class TestStandard(BaseTest):
option_list=options)
def test_required_value(self):
- self.assertParseFail(["-a"], "-a option requires an argument")
+ self.assertParseFail(["-a"], "-a option requires 1 argument")
def test_invalid_integer(self):
self.assertParseFail(["-b", "5x"],