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

Method tearDown

Lib/test/test_logging.py:1176–1178  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1174 self.mem_logger.addHandler(self.mem_hdlr)
1175
1176 def tearDown(self):
1177 self.mem_hdlr.close()
1178 BaseTest.tearDown(self)
1179
1180 def test_flush(self):
1181 # The memory handler flushes to its target handler based on specific

Callers

nothing calls this directly

Calls 2

closeMethod · 0.45
tearDownMethod · 0.45

Tested by

no test coverage detected