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 9da1baf commit 023a4edCopy full SHA for 023a4ed
src/tox/pytest.py
@@ -447,7 +447,7 @@ def pytest_configure(config: PyTestConfig) -> None:
447
config.addinivalue_line("markers", "plugin_test")
448
449
450
-@pytest.mark.trylast()
+@pytest.hookimpl(trylast=True) # type: ignore # not typed decorator
451
def pytest_collection_modifyitems(config: PyTestConfig, items: list[Function]) -> None:
452
# do not require flags if called directly
453
if len(items) == 1: # pragma: no cover # hard to test
0 commit comments