Skip to content

Commit 79b018c

Browse files
committed
Fix style
1 parent be100fd commit 79b018c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pytest_trio/plugin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ def _install_coroutine_fixture_if_needed(fixturedef, request):
8888
if not deps and inspect.iscoroutinefunction(fixturedef.func):
8989
# Top level async coroutine
9090
corofix = CoroutineFixture(fixturedef.func, fixturedef)
91-
elif any(
92-
dep for dep in deps.values() if isinstance(dep, CoroutineFixture)):
91+
elif any(dep for dep in deps.values()
92+
if isinstance(dep, CoroutineFixture)):
9393
# Fixture with coroutine fixture dependencies
9494
corofix = CoroutineFixture(fixturedef.func, fixturedef, deps)
9595
# The coroutine fixture must be evaluated from within the trio context

0 commit comments

Comments
 (0)