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

Method tearDown

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

Source from the content-addressed store, hash-verified

6329 self.rmfiles = []
6330
6331 def tearDown(self):
6332 for fn in self.rmfiles:
6333 os.unlink(fn)
6334 if os.path.exists(self.fn):
6335 os.unlink(self.fn)
6336 BaseTest.tearDown(self)
6337
6338 def assertLogFile(self, filename):
6339 "Assert a log file is there and register it for deletion"

Callers

nothing calls this directly

Calls 3

unlinkMethod · 0.45
existsMethod · 0.45
tearDownMethod · 0.45

Tested by

no test coverage detected