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

Method test_lock_unlock

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

Source from the content-addressed store, hash-verified

857 self.assertEqual(self._box._toc, {})
858
859 def test_lock_unlock(self):
860 # Lock and unlock the mailbox. For Maildir, this does nothing.
861 self._box.lock()
862 self._box.unlock()
863
864 def test_get_info(self):
865 # 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