def go():
     ws = WebSocketResponse()
     with self.assertRaises(RuntimeError):
         yield from ws.wait_closed()