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

Method tearDown

Lib/idlelib/idle_test/test_redirector.py:62–64  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

60 self.text.insert('insert', 'asdf') # leaves self.text empty
61
62 def tearDown(self):
63 self.text.delete('1.0', 'end')
64 self.redir.close()
65
66 def test_repr(self): # partly for 100% coverage
67 self.assertIn('Redirector', repr(self.redir))

Callers

nothing calls this directly

Calls 2

deleteMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected