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

Method make_character_stream

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

Source from the content-addressed store, hash-verified

372 return BytesIO(b"This is a byte stream.")
373
374 def make_character_stream(self):
375 return StringIO("This is a character stream.")
376
377 def checkContent(self, stream, content):
378 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