MCPcopy Index your code
hub / github.com/RustPython/RustPython / tearDown

Method tearDown

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

Source from the content-addressed store, hash-verified

6187 self.rmfiles = []
6188
6189 def tearDown(self):
6190 for fn in self.rmfiles:
6191 os.unlink(fn)
6192 if os.path.exists(self.fn):
6193 os.unlink(self.fn)
6194 BaseTest.tearDown(self)
6195
6196 def assertLogFile(self, filename):
6197 "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