:meta private:
(self, config: Config)
| 592 | return bool(self.get_plugin(name)) |
| 593 | |
| 594 | def pytest_configure(self, config: Config) -> None: |
| 595 | """:meta private:""" |
| 596 | # XXX now that the pluginmanager exposes hookimpl(tryfirst...) |
| 597 | # we should remove tryfirst/trylast as markers. |
| 598 | config.addinivalue_line( |
| 599 | "markers", |
| 600 | "tryfirst: mark a hook implementation function such that the " |
| 601 | "plugin machinery will try to call it first/as early as possible. " |
| 602 | "DEPRECATED, use @pytest.hookimpl(tryfirst=True) instead.", |
| 603 | ) |
| 604 | config.addinivalue_line( |
| 605 | "markers", |
| 606 | "trylast: mark a hook implementation function such that the " |
| 607 | "plugin machinery will try to call it last/as late as possible. " |
| 608 | "DEPRECATED, use @pytest.hookimpl(trylast=True) instead.", |
| 609 | ) |
| 610 | self._configured = True |
| 611 | |
| 612 | # |
| 613 | # Internal API for local conftest plugin handling. |
nothing calls this directly
no test coverage detected