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

Class Stream

Lib/test/test_io.py:982–985  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

980 def test_buffered_readinto_mixin(self):
981 # Test the implementation provided by BufferedIOBase
982 class Stream(self.BufferedIOBase):
983 def read(self, size):
984 return b"12345"
985 read1 = read
986 stream = Stream()
987 for method in ("readinto", "readinto1"):
988 with self.subTest(method):

Callers 1

Calls

no outgoing calls

Tested by 1