MCPcopy Index your code
hub / github.com/python/cpython / test_help_unicode_description

Method test_help_unicode_description

Lib/test/test_optparse.py:1551–1560  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1549 self.assertHelpEquals(expect)
1550
1551 def test_help_unicode_description(self):
1552 self.parser = InterceptingOptionParser(usage=SUPPRESS_USAGE,
1553 description="ol\u00E9!")
1554 expect = """\
1555ol\u00E9!
1556
1557Options:
1558 -h, --help show this help message and exit
1559"""
1560 self.assertHelpEquals(expect)
1561
1562 def test_help_description_groups(self):
1563 self.parser.set_description(

Callers

nothing calls this directly

Calls 2

assertHelpEqualsMethod · 0.95

Tested by

no test coverage detected