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

Method test_clear

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

Source from the content-addressed store, hash-verified

778 # TODO test for save call.
779
780 def test_clear(self):
781 changes = self.load()
782 changes.clear()
783 self.assertEqual(changes, self.empty)
784
785
786class WarningTest(unittest.TestCase):

Callers

nothing calls this directly

Calls 3

loadMethod · 0.95
clearMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected