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

Method test_lock_unlock

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

Source from the content-addressed store, hash-verified

863 self.assertEqual(self._box._toc, {})
864
865 def test_lock_unlock(self):
866 # Lock and unlock the mailbox. For Maildir, this does nothing.
867 self._box.lock()
868 self._box.unlock()
869
870 def test_get_info(self):
871 # Test getting message info from Maildir, not the message.

Callers

nothing calls this directly

Calls 2

lockMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected