Skip to content

Configuration error handling in pytest plugins #10211

Answered by nicoddemus
bwoodsend asked this question in Q&A
Discussion options

You must be logged in to vote

Try raising pytest.UsageError, we catch this at the top level and produce a shorter message.

Replies: 1 comment 1 reply

Comment options

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

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