MCPcopy Index your code
hub / github.com/python-websockets/websockets / assertEval

Method assertEval

tests/asyncio/server.py:45–47  ·  view source on GitHub ↗
(self, client, expr, value)

Source from the content-addressed store, hash-verified

43
44class EvalShellMixin:
45 async def assertEval(self, client, expr, value):
46 await client.send(expr)
47 self.assertEqual(await client.recv(), value)

Calls 2

sendMethod · 0.45
recvMethod · 0.45