MCPcopy Create free account
hub / github.com/python-websockets/websockets / test_line_ending

Method test_line_ending

tests/legacy/test_http.py:176–179  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

174 await read_headers(self.stream)
175
176 async def test_line_ending(self):
177 self.stream.feed_data(b"foo: bar\n\n")
178 with self.assertRaises(EOFError):
179 await read_headers(self.stream)

Callers

nothing calls this directly

Calls 2

read_headersFunction · 0.90
feed_dataMethod · 0.45

Tested by

no test coverage detected