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

Method test_rootnode

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

Source from the content-addressed store, hash-verified

45 self.assertEqual(pb.top.iconname(), 'Path Browser')
46
47 def test_rootnode(self):
48 pb = self.pb
49 rn = pb.rootnode()
50 self.assertIsInstance(rn, pathbrowser.PathBrowserTreeItem)
51
52 def test_close(self):
53 pb = self.pb

Callers

nothing calls this directly

Calls 2

assertIsInstanceMethod · 0.80
rootnodeMethod · 0.45

Tested by

no test coverage detected