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

Method go

tests/test_web_websocket.py:76–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74
75 @asyncio.coroutine
76 def go():
77 ws = WebSocketResponse()
78 with self.assertRaises(RuntimeError):
79 yield from ws.receive_str()
80
81 self.loop.run_until_complete(go())
82

Callers

nothing calls this directly

Calls 10

receive_strMethod · 0.95
receive_bytesMethod · 0.95
make_requestMethod · 0.95
prepareMethod · 0.95
closeMethod · 0.95
write_eofMethod · 0.95
WebSocketResponseClass · 0.90
write_eofMethod · 0.45
receiveMethod · 0.45
exceptionMethod · 0.45

Tested by

no test coverage detected