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

Method test_help_xoptions

Lib/test/test_cmd_line.py:73–78  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

71
72 @support.cpython_only
73 def test_help_xoptions(self):
74 out = self.verify_valid_flag('--help-xoptions')
75 self.assertIn(b'-X dev', out)
76 options = re.findall(rb'^-X (\w+)', out, re.MULTILINE)
77 self.assertEqual(options, sorted(options),
78 "options should be sorted alphabetically")
79
80 @support.cpython_only
81 def test_help_all(self):

Callers

nothing calls this directly

Calls 4

verify_valid_flagMethod · 0.95
assertInMethod · 0.80
findallMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected