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

Method tearDownClass

Lib/idlelib/idle_test/test_editor.py:224–231  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

222
223 @classmethod
224 def tearDownClass(cls):
225 cls.window._close()
226 del cls.window
227 cls.root.update_idletasks()
228 for id in cls.root.tk.call('after', 'info'):
229 cls.root.after_cancel(id)
230 cls.root.destroy()
231 del cls.root
232
233 class DummyRMenu:
234 def tk_popup(x, y): pass

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected