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

Method test_init

Lib/idlelib/idle_test/test_editor.py:28–31  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

26 del cls.root
27
28 def test_init(self):
29 e = Editor(root=self.root)
30 self.assertEqual(e.root, self.root)
31 e._close()
32
33
34class GetLineIndentTest(unittest.TestCase):

Callers

nothing calls this directly

Calls 3

EditorClass · 0.70
assertEqualMethod · 0.45
_closeMethod · 0.45

Tested by

no test coverage detected