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

Method tearDownClass

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

Source from the content-addressed store, hash-verified

111
112 @classmethod
113 def tearDownClass(cls):
114 cls.window._close()
115 del cls.window
116 cls.root.update_idletasks()
117 for id in cls.root.tk.call('after', 'info'):
118 cls.root.after_cancel(id)
119 cls.root.destroy()
120 del cls.root
121
122 def test_indent_and_newline_event(self):
123 eq = self.assertEqual

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