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

Method test_close

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

Source from the content-addressed store, hash-verified

524 self.assertFalse(os.path.exists(self._get_lock_path()))
525
526 def test_close(self):
527 # Close mailbox and flush changes to disk
528 self._test_flush_or_close(self._box.close, False)
529
530 def _test_flush_or_close(self, method, should_call_close):
531 contents = [self._template % i for i in range(3)]

Callers

nothing calls this directly

Calls 1

_test_flush_or_closeMethod · 0.95

Tested by

no test coverage detected