Skip to content

Commit d7d599d

Browse files
committed
[docs] Add TODO for more specific return types once support for pytest 7 has been dropped.
Signed-off-by: Michael Seifert <[email protected]>
1 parent e992516 commit d7d599d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pytest_asyncio/plugin.py

+2
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,7 @@ def pytest_pycollect_makeitem_preprocess_async_fixtures(
523523
return None
524524

525525

526+
# TODO: #778 Narrow down return type of function when dropping support for pytest 7
526527
# The function name needs to start with "pytest_"
527528
# see https://github.com/pytest-dev/pytest/issues/11307
528529
@pytest.hookimpl(specname="pytest_pycollect_makeitem", hookwrapper=True)
@@ -738,6 +739,7 @@ def pytest_generate_tests(metafunc: Metafunc) -> None:
738739
)
739740

740741

742+
# TODO: #778 Narrow down return type of function when dropping support for pytest 7
741743
@pytest.hookimpl(hookwrapper=True)
742744
def pytest_fixture_setup(
743745
fixturedef: FixtureDef,

0 commit comments

Comments
 (0)