Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python-websockets/websockets
/ test_serialize_errors
Method
test_serialize_errors
tests/test_frames.py:434–436 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
432
Close.parse(b
"\x03\xe8\xff\xff"
)
433
434
def
test_serialize_errors(self):
435
with
self.assertRaises(ProtocolError):
436
Close(999,
""
).serialize()
Callers
nothing calls this directly
Calls
2
Close
Class · 0.85
serialize
Method · 0.45
Tested by
no test coverage detected