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

Method tearDown

Lib/test/test_mailbox.py:1499–1504  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1497 self.assertEqual(f.readlines(), [])
1498
1499 def tearDown(self):
1500 super().tearDown()
1501 self._box.close()
1502 self._delete_recursively(self._path)
1503 for lock_remnant in glob.glob(glob.escape(self._path) + '.*'):
1504 os_helper.unlink(lock_remnant)
1505
1506 def test_labels(self):
1507 # Get labels from the mailbox

Callers 4

test_initialize_newMethod · 0.45
tearDownMethod · 0.45

Calls 6

superClass · 0.85
_delete_recursivelyMethod · 0.80
escapeMethod · 0.80
closeMethod · 0.45
globMethod · 0.45
unlinkMethod · 0.45

Tested by

no test coverage detected