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

Method test_add_option

Lib/idlelib/idle_test/test_config.py:722–726  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

720 self.assertEqual(self.changes, self.empty)
721
722 def test_add_option(self):
723 changes = self.load()
724 self.assertEqual(changes, self.loaded)
725 changes.add_option('main', 'Msec', 'mitem', 'mval')
726 self.assertEqual(changes, self.loaded)
727
728 def test_save_option(self): # Static function does not touch changes.
729 save_option = self.changes.save_option

Callers

nothing calls this directly

Calls 3

loadMethod · 0.95
assertEqualMethod · 0.45
add_optionMethod · 0.45

Tested by

no test coverage detected