Skip to content

Commit 9c87d43

Browse files
committed
Fix two typos.
Found by codereview.doctor (among many false positives).
1 parent c590dc8 commit 9c87d43

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

example/deployment/kubernetes/benchmark.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
async def run(client_id, messages):
1212
async with websockets.connect(URI) as websocket:
1313
for message_id in range(messages):
14-
await websocket.send("{client_id}:{message_id}")
14+
await websocket.send(f"{client_id}:{message_id}")
1515
await websocket.recv()
1616

1717

tests/test_headers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def test_parse_subprotocol_invalid_header(self):
140140
for header in [
141141
# Truncated examples
142142
"",
143-
",\t,"
143+
",\t,",
144144
# Wrong delimiter
145145
"foo; bar",
146146
]:

0 commit comments

Comments
 (0)