mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Rip out all the u"..." literals and calls to unicode().
This commit is contained in:
parent
572dbf8f13
commit
ef87d6ed94
200 changed files with 18074 additions and 18074 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue