MCPcopy 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
1544class TestFakeMailBox(unittest.TestCase):

Callers 4

test_add_8bit_bodyMethod · 0.45
test_get_fileMethod · 0.45
doTestWithPreBuiltZipMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected