Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
34
class
GetLineIndentTest(unittest.TestCase):
Callers
nothing calls this directly
Calls
3
Editor
Class · 0.70
assertEqual
Method · 0.45
_close
Method · 0.45
Tested by
no test coverage detected