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

Method read

Lib/test/test_zipfile/test_core.py:3662–3665  ·  view source on GitHub ↗
(self, size=-1)

Source from the content-addressed store, hash-verified

3660 self.bytes_read = 0
3661
3662 def read(self, size=-1):
3663 bs = super().read(size)
3664 self.bytes_read += len(bs)
3665 return bs
3666
3667
3668class StoredZipExtFileRandomReadTest(unittest.TestCase):

Callers 15

test_as_stringMethod · 0.45
test_as_bytesMethod · 0.45
_make_audioMethod · 0.45
_make_imageMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
test_epilogueMethod · 0.45
_msgobjMethod · 0.45

Calls 2

superClass · 0.85
lenFunction · 0.85

Tested by

no test coverage detected