Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustPython/RustPython
/ get_file
Method
get_file
Lib/test/test_mailbox.py:1525–1526 ·
view source on GitHub ↗
(self, key)
Source
from the content-addressed store, hash-verified
1523
self.files = [FakeFileLikeObject()
for
i in range(10)]
1524
1525
def
get_file(self, key):
1526
return
self.files[key]
1527
1528
1529
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