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

Method test_remove_long_opt

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

Source from the content-addressed store, hash-verified

389 self.assertTrueremoved()
390
391 def test_remove_long_opt(self):
392 self.parser.remove_option("--verbose")
393 self.assertTrueremoved()
394
395 def test_remove_nonexistent(self):
396 self.assertRaises(self.parser.remove_option, ('foo',), None,

Callers

nothing calls this directly

Calls 2

assertTrueremovedMethod · 0.95
remove_optionMethod · 0.45

Tested by

no test coverage detected