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

Method tearDown

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

Source from the content-addressed store, hash-verified

1482 self.assertEqual(f.readlines(), [])
1483
1484 def tearDown(self):
1485 super().tearDown()
1486 self._box.close()
1487 self._delete_recursively(self._path)
1488 for lock_remnant in glob.glob(glob.escape(self._path) + '.*'):
1489 os_helper.unlink(lock_remnant)
1490
1491 def test_labels(self):
1492 # 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