forked from pytest-dev/pytest
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve UX during errors while parsing warning filters
Fix pytest-dev#7864 Fix pytest-dev#9218 Closes pytest-dev#8343 Closes pytest-dev#7877
- Loading branch information
1 parent
4a38341
commit 9dcf55e
Showing
3 changed files
with
85 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Improved error messages when parsing warning filters. | ||
|
||
Previously pytest would show an internal traceback, which besides ugly sometimes would hide the cause | ||
of the problem (for example an ``ImportError`` while importing a specific warning type). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters