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

Class Stream

Lib/test/test_io/test_general.py:699–702  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

697 def test_buffered_readinto_mixin(self):
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"):
705 with self.subTest(method):

Callers 1

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…