Skip to content

Use pytest_collection_modifyitems in a plugin #10585

Answered by The-Compiler
mdhaisne asked this question in Q&A
Discussion options

You must be logged in to vote

Works for me (with your plugin.py as conftest.py). Can you try inserting a 1/0 there to make sure it's really not triggered? With a pytest --debug you should get a pytestdebug.log which could tell you more.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mdhaisne
Comment options

Answer selected by The-Compiler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants