Skip to content

Commit 3633983

Browse files
committed
format
1 parent 9a14644 commit 3633983

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_asyncio/test_cwe_404.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,16 +87,16 @@ async def test_standalone(delay):
8787

8888
dp.send_event.clear()
8989
t = asyncio.create_task(r.get("foo"))
90-
# Wait until the task has sent, and then some, to make sure it has settled on
91-
# reading.
90+
# Wait until the task has sent, and then some, to make sure it has
91+
# settled on the read.
9292
await dp.send_event.wait()
9393
await asyncio.sleep(0.05)
9494
t.cancel()
9595
with pytest.raises(asyncio.CancelledError):
9696
await t
9797

98-
# make sure that our previous request, cancelled while waiting for a repsponse,
99-
# didn't leave the connection in a bad state
98+
# make sure that our previous request, cancelled while waiting for
99+
# a repsponse, didn't leave the connection open andin a bad state
100100
with dp.override():
101101
assert await r.get("bar") == b"bar"
102102
assert await r.ping()

0 commit comments

Comments
 (0)