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

Method tearDown

Lib/test/test_dbm_ndbm.py:16–18  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

14 self.d.close()
15
16 def tearDown(self):
17 for suffix in ['', '.pag', '.dir', '.db']:
18 os_helper.unlink(self.filename + suffix)
19
20 def test_keys(self):
21 self.d = dbm.ndbm.open(self.filename, 'c')

Callers

nothing calls this directly

Calls 1

unlinkMethod · 0.45

Tested by

no test coverage detected