Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python-websockets/websockets
/ test_close
Method
test_close
tests/test_frames.py:89–94 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
87
)
88
89
def
test_close(self):
90
self.assertFrameData(
91
Frame(OP_CLOSE, b
""
),
92
b
"\x88\x00"
,
93
mask=False,
94
)
95
96
def
test_ping(self):
97
self.assertFrameData(
Callers
nothing calls this directly
Calls
2
assertFrameData
Method · 0.80
Frame
Class · 0.50
Tested by
no test coverage detected