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

Method test_no_default

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

Source from the content-addressed store, hash-verified

595 self.assertHelp(self.parser, self.expected_help_file)
596
597 def test_no_default(self):
598 self.parser.add_option("-f", "--file",
599 help=self.file_help)
600 self.assertHelp(self.parser, self.expected_help_none)
601
602 def test_default_none_1(self):
603 self.parser.add_option("-f", "--file",

Callers

nothing calls this directly

Calls 2

assertHelpMethod · 0.80
add_optionMethod · 0.45

Tested by

no test coverage detected