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

Method tearDownClass

Lib/idlelib/idle_test/test_runscript.py:19–24  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

17
18 @classmethod
19 def tearDownClass(cls):
20 cls.root.update_idletasks()
21 for id in cls.root.tk.call('after', 'info'):
22 cls.root.after_cancel(id) # Need for EditorWindow.
23 cls.root.destroy()
24 del cls.root
25
26 def test_init(self):
27 ew = EditorWindow(root=self.root)

Callers

nothing calls this directly

Calls 4

update_idletasksMethod · 0.80
after_cancelMethod · 0.80
callMethod · 0.45
destroyMethod · 0.45

Tested by

no test coverage detected