Skip to content

Commit b9c65d2

Browse files
cdce8pseifertm
authored andcommitted
Fix __package_loop_stack
1 parent c0120b5 commit b9c65d2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pytest_asyncio/plugin.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -683,9 +683,7 @@ def pytest_pycollect_makeitem_convert_async_functions_to_subclass(
683683

684684
# A stack used to push package-scoped loops during collection of a package
685685
# and pop those loops during collection of a Module
686-
__package_loop_stack: list[
687-
FixtureFunctionMarker[FixtureFunctionType] | FixtureFunctionType
688-
] = []
686+
__package_loop_stack: list[Callable[..., Any]] = []
689687

690688

691689
@pytest.hookimpl

0 commit comments

Comments
 (0)