Skip to content

Commit 3251f13

Browse files
committed
Run black
1 parent dcaa64f commit 3251f13

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

tests/test_trio_asyncio.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,10 @@ async def iterate_one(label, extra=""):
249249
with trio.move_on_after(loop_timeout) as scope:
250250
if loop_timeout == 0:
251251
scope.cancel()
252-
async with trio_asyncio.open_loop() as loop, trio_asyncio.open_loop() as loop2:
252+
async with (
253+
trio_asyncio.open_loop() as loop,
254+
trio_asyncio.open_loop() as loop2,
255+
):
253256
assert sys.get_asyncgen_hooks() != before_hooks
254257
async with trio.open_nursery() as nursery:
255258
# Make sure the iterate_one aio tasks don't get

trio_asyncio/_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ async def _make_subprocess_transport(
432432
stderr,
433433
bufsize,
434434
extra=None,
435-
**kwargs
435+
**kwargs,
436436
):
437437
"""Make a subprocess transport. Asyncio context."""
438438

@@ -448,7 +448,7 @@ async def _make_subprocess_transport(
448448
bufsize,
449449
waiter=waiter,
450450
extra=extra,
451-
**kwargs
451+
**kwargs,
452452
)
453453

454454
async def child_wait(transp):

0 commit comments

Comments
 (0)