Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python-websockets/websockets
/ test_parse_empty
Method
test_parse_empty
tests/test_frames.py:420–424 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
418
)
419
420
def
test_parse_empty(self):
421
self.assertEqual(
422
Close.parse(b
""
),
423
Close(CloseCode.NO_STATUS_RCVD,
""
),
424
)
425
426
def
test_parse_errors(self):
427
with
self.assertRaises(ProtocolError):
Callers
nothing calls this directly
Calls
2
Close
Class · 0.85
parse
Method · 0.45
Tested by
no test coverage detected