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

Method assertEval

tests/sync/server.py:34–36  ·  view source on GitHub ↗
(self, client, expr, value)

Source from the content-addressed store, hash-verified

32
33class EvalShellMixin:
34 def assertEval(self, client, expr, value):
35 client.send(expr)
36 self.assertEqual(client.recv(), value)
37
38
39@contextlib.contextmanager

Calls 2

sendMethod · 0.45
recvMethod · 0.45