MCPcopy Create free account
hub / github.com/python/cpython / tearDownClass

Method tearDownClass

Lib/idlelib/idle_test/test_iomenu.py:29–37  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

27
28 @classmethod
29 def tearDownClass(cls):
30 cls.io.close()
31 cls.editwin._close()
32 del cls.editwin
33 cls.root.update_idletasks()
34 for id in cls.root.tk.call('after', 'info'):
35 cls.root.after_cancel(id) # Need for EditorWindow.
36 cls.root.destroy()
37 del cls.root
38
39 def test_init(self):
40 self.assertIs(self.io.editwin, self.editwin)

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected