We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41a566a commit 49ddea1Copy full SHA for 49ddea1
pytest_asyncio/plugin.py
@@ -28,7 +28,6 @@
28
Literal,
29
TypeVar,
30
Union,
31
- cast,
32
overload,
33
)
34
@@ -703,7 +702,6 @@ def pytest_runtest_setup(item: pytest.Item) -> None:
703
702
marker = item.get_closest_marker("asyncio")
704
if marker is None or not is_async_test(item):
705
return
706
- item = cast(PytestAsyncioFunction, item)
707
runner_fixture_id = f"_{item.loop_scope}_scoped_runner"
708
fixturenames = item.fixturenames # type: ignore[attr-defined]
709
if runner_fixture_id not in fixturenames:
0 commit comments