def test_nonstarted_receive_json(): ws = WebSocketResponse() with pytest.raises(RuntimeError): yield from ws.receive_json()
def go(): ws = WebSocketResponse() with self.assertRaises(RuntimeError): yield from ws.receive_json()
def function360(): var468 = WebSocketResponse() with pytest.raises(RuntimeError): yield from var468.receive_json()