We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c590dc8 commit 9c87d43Copy full SHA for 9c87d43
example/deployment/kubernetes/benchmark.py
@@ -11,7 +11,7 @@
11
async def run(client_id, messages):
12
async with websockets.connect(URI) as websocket:
13
for message_id in range(messages):
14
- await websocket.send("{client_id}:{message_id}")
+ await websocket.send(f"{client_id}:{message_id}")
15
await websocket.recv()
16
17
tests/test_headers.py
@@ -140,7 +140,7 @@ def test_parse_subprotocol_invalid_header(self):
140
for header in [
141
# Truncated examples
142
"",
143
- ",\t,"
+ ",\t,",
144
# Wrong delimiter
145
"foo; bar",
146
]:
0 commit comments