summaryrefslogtreecommitdiff
path: root/Lib/test/test_optparse.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_optparse.py')
-rw-r--r--Lib/test/test_optparse.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_optparse.py b/Lib/test/test_optparse.py
index 88e3a1fcbc..811ec3486a 100644
--- a/Lib/test/test_optparse.py
+++ b/Lib/test/test_optparse.py
@@ -1520,8 +1520,8 @@ class TestHelp(BaseTest):
def test_help_unicode(self):
self.parser = InterceptingOptionParser(usage=SUPPRESS_USAGE)
- self.parser.add_option("-a", action="store_true", help=u"ol\u00E9!")
- expect = u"""\
+ self.parser.add_option("-a", action="store_true", help="ol\u00E9!")
+ expect = """\
Options:
-h, --help show this help message and exit
-a ol\u00E9!
@@ -1530,8 +1530,8 @@ Options:
def test_help_unicode_description(self):
self.parser = InterceptingOptionParser(usage=SUPPRESS_USAGE,
- description=u"ol\u00E9!")
- expect = u"""\
+ description="ol\u00E9!")
+ expect = """\
ol\u00E9!
Options: