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

Method test_basic_defaults

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

Source from the content-addressed store, hash-verified

486 'u': None }
487
488 def test_basic_defaults(self):
489 self.assertEqual(self.parser.get_default_values(), self.expected)
490
491 def test_mixed_defaults_post(self):
492 self.parser.set_defaults(n=42, m=-100)

Callers

nothing calls this directly

Calls 2

get_default_valuesMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected