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

Method make_byte_stream

Lib/test/test_sax.py:363–364  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

361 os_helper.unlink(self.file)
362
363 def make_byte_stream(self):
364 return BytesIO(b"This is a byte stream.")
365
366 def make_character_stream(self):
367 return StringIO("This is a character stream.")

Callers 2

test_byte_streamMethod · 0.95
test_binary_fileMethod · 0.95

Calls 1

BytesIOClass · 0.90

Tested by

no test coverage detected