MCPcopy Index your code
hub / github.com/python/cpython / read

Method read

Lib/test/test_io/test_general.py:700–701  ·  view source on GitHub ↗
(self, size)

Source from the content-addressed store, hash-verified

698 # Test the implementation provided by BufferedIOBase
699 class Stream(self.BufferedIOBase):
700 def read(self, size):
701 return b"12345"
702 read1 = read
703 stream = Stream()
704 for method in ("readinto", "readinto1"):

Callers 14

read_opsMethod · 0.45
large_file_opsMethod · 0.45
do_testMethod · 0.45
test_destructorMethod · 0.45
test_close_flushesMethod · 0.45
test_read_closedMethod · 0.45
test_RawIOBase_readMethod · 0.45
test_openerMethod · 0.45
check_path_succeedsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected