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

Method test_rootnode

Lib/idlelib/idle_test/test_browser.py:47–50  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

45 self.assertEqual(mb.top.iconname(), 'Module Browser')
46
47 def test_rootnode(self):
48 mb = self.mb
49 rn = mb.rootnode()
50 self.assertIsInstance(rn, browser.ModuleBrowserTreeItem)
51
52 def test_close(self):
53 mb = self.mb

Callers

nothing calls this directly

Calls 2

assertIsInstanceMethod · 0.80
rootnodeMethod · 0.45

Tested by

no test coverage detected