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

Method test___repr__eof

Lib/test/test_asyncio/test_streams.py:939–942  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

937 self.assertEqual("<StreamReader limit=123>", repr(stream))
938
939 def test___repr__eof(self):
940 stream = asyncio.StreamReader(loop=self.loop)
941 stream.feed_eof()
942 self.assertEqual("<StreamReader eof>", repr(stream))
943
944 def test___repr__data(self):
945 stream = asyncio.StreamReader(loop=self.loop)

Callers

nothing calls this directly

Calls 3

feed_eofMethod · 0.95
reprFunction · 0.85
assertEqualMethod · 0.45

Tested by

no test coverage detected