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

Method make_character_stream

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

Source from the content-addressed store, hash-verified

364 return BytesIO(b"This is a byte stream.")
365
366 def make_character_stream(self):
367 return StringIO("This is a character stream.")
368
369 def checkContent(self, stream, content):
370 self.assertIsNotNone(stream)

Callers 2

test_character_streamMethod · 0.95
test_text_fileMethod · 0.95

Calls 1

StringIOClass · 0.90

Tested by

no test coverage detected