summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_optparse.py
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-03-20 18:59:25 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-03-20 18:59:25 (GMT)
commit6a1454f3a441b6f84cabaff250b2744a5e4f4ec0 (patch)
treec0388134e7d07d6e5a88484a3eb6891bcd1ceaf3 /Lib/test/test_optparse.py
parent2592f62a5a7dca59d91b313794c92f4cb592e654 (diff)
downloadcpython-6a1454f3a441b6f84cabaff250b2744a5e4f4ec0.zip
cpython-6a1454f3a441b6f84cabaff250b2744a5e4f4ec0.tar.gz
cpython-6a1454f3a441b6f84cabaff250b2744a5e4f4ec0.tar.bz2
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 7b95612..61f44ee 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"],