Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ get_file
Method
get_file
Lib/test/test_mailbox.py:1540–1541 ·
view source on GitHub ↗
(self, key)
Source
from the content-addressed store, hash-verified
1538
self.files = [FakeFileLikeObject()
for
i in range(10)]
1539
1540
def
get_file(self, key):
1541
return
self.files[key]
1542
1543
1544
class
TestFakeMailBox(unittest.TestCase):
Callers
4
test_add_8bit_body
Method · 0.45
test_get_file
Method · 0.45
test_get_file_can_be_closed_twice
Method · 0.45
doTestWithPreBuiltZip
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected