Skip to content

How do you gracefully exit in a collect_modifyitems hook ? #8077

Answered by symonk
symonk asked this question in Q&A
Discussion options

You must be logged in to vote

actually ignore this, pytest.exit() in the hook returns a 2 not a 1 :)

Replies: 1 comment 1 reply

Comment options

symonk
Nov 26, 2020
Collaborator Author

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

Answer selected by RonnyPfannschmidt
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