Skip to content

Commit 6be5980

Browse files
committed
Fix typo
1 parent ea95a6b commit 6be5980

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/async_fixtures/test_async_fixtures_with_finalizer.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,12 @@ async def port_afinalizer():
5555
current_loop.run_until_complete(port_afinalizer())
5656

5757
# nested loop proxy is different than explicitly set by
58-
# loop_policy.set_event_loop(). it is really not a big prblem because async
59-
# functions always have the correct 'get_running_loop()' already.
58+
# loop_policy.set_event_loop().
59+
# It is really not a big problem because async functions
60+
# always have the correct 'get_running_loop()' already.
6061
worker = asyncio.ensure_future(
61-
asyncio.sleep(0.2), loop=asyncio.get_event_loop_policy().get_event_loop()
62+
asyncio.sleep(0.2),
63+
loop=asyncio.get_event_loop_policy().get_event_loop(),
6264
)
6365
request.addfinalizer(functools.partial(port_finalizer, worker))
6466
return True

0 commit comments

Comments
 (0)