Mercurial > cpython-lru_cache-weakref
diff Lib/test/test_optparse.py @ 41575:beacf40b5960
Rip out all the u"..." literals and calls to unicode().
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 02 May 2007 19:09:54 +0000 |
| parents | 06145fbc7ab9 |
| children | 9d02a4adf574 |
line wrap: on
line diff
--- a/Lib/test/test_optparse.py Fri Apr 27 23:53:51 2007 +0000 +++ b/Lib/test/test_optparse.py Wed May 02 19:09:54 2007 +0000 @@ -1520,8 +1520,8 @@ 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 @@ 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:
