File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -87,16 +87,16 @@ async def test_standalone(delay):
87
87
88
88
dp .send_event .clear ()
89
89
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 .
92
92
await dp .send_event .wait ()
93
93
await asyncio .sleep (0.05 )
94
94
t .cancel ()
95
95
with pytest .raises (asyncio .CancelledError ):
96
96
await t
97
97
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
100
100
with dp .override ():
101
101
assert await r .get ("bar" ) == b"bar"
102
102
assert await r .ping ()
You can’t perform that action at this time.
0 commit comments