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

Method test___repr__eof

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

Source from the content-addressed store, hash-verified

979 self.assertEqual("<StreamReader limit=123>", repr(stream))
980
981 def test___repr__eof(self):
982 stream = asyncio.StreamReader(loop=self.loop)
983 stream.feed_eof()
984 self.assertEqual("<StreamReader eof>", repr(stream))
985
986 def test___repr__data(self):
987 stream = asyncio.StreamReader(loop=self.loop)

Callers

nothing calls this directly

Calls 2

feed_eofMethod · 0.95
assertEqualMethod · 0.45

Tested by

no test coverage detected