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

Method test_new_empty

Lib/idlelib/idle_test/test_filelist.py:24–29  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

22 del cls.root
23
24 def test_new_empty(self):
25 flist = filelist.FileList(self.root)
26 self.assertEqual(flist.root, self.root)
27 e = flist.new()
28 self.assertEqual(type(e), flist.EditorWindow)
29 e._close()
30
31
32if __name__ == '__main__':

Callers

nothing calls this directly

Calls 3

newMethod · 0.95
assertEqualMethod · 0.45
_closeMethod · 0.45

Tested by

no test coverage detected