pytest.raises
with invalid regex in match kwarg fails with internal re.error
#12505
Labels
good first issue
easy issue that is friendly to new contributor
Using an invalid regex in
pytest.raises
fails in a messy way.Proposal would be to handle regex failures within
pytest.raises
and fail nicely for the user (UsageError
).pip list
from the virtual environment you are usingThe text was updated successfully, but these errors were encountered: