MCPcopy
hub / github.com/aio-libs/aiohttp / test_at_eof

Method test_at_eof

tests/test_streams.py:599–604  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

597 self.assertTrue(self.buffer.is_eof())
598
599 def test_at_eof(self):
600 self.assertFalse(self.buffer.at_eof())
601 self.buffer.feed_eof()
602 self.assertTrue(self.buffer.at_eof())
603 self.buffer._buffer.append(object())
604 self.assertFalse(self.buffer.at_eof())
605
606 def test_feed_data(self):
607 item = object()

Callers

nothing calls this directly

Calls 3

appendMethod · 0.80
at_eofMethod · 0.45
feed_eofMethod · 0.45

Tested by

no test coverage detected