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

Method test_help_option

Lib/test/test_launcher.py:324–326  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

322 self.assertEqual(sys.version.partition(" ")[0], data["version"])
323
324 def test_help_option(self):
325 data = self.run_py(["-h"])
326 self.assertEqual("True", data["SearchInfo.help"])
327
328 def test_list_option(self):
329 for opt, v1, v2 in [

Callers

nothing calls this directly

Calls 2

run_pyMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected