(session: Session)
| 92 | |
| 93 | @pytest.hookimpl(wrapper=True, tryfirst=True) |
| 94 | def pytest_collection(session: Session) -> Generator[None, object, object]: |
| 95 | config = session.config |
| 96 | with catch_warnings_for_item( |
| 97 | config=config, ihook=config.hook, when="collect", item=None |
| 98 | ): |
| 99 | return (yield) |
| 100 | |
| 101 | |
| 102 | @pytest.hookimpl(wrapper=True) |
nothing calls this directly
no test coverage detected