Skip to content

Commit

Permalink
fix: always fail tests when runtime warnings were raised (#668)
Browse files Browse the repository at this point in the history
  • Loading branch information
jenstroeger authored Jan 20, 2024
1 parent 942e647 commit 0d65199
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ env = [
"PYTHONDEVMODE=1", # https://docs.python.org/3/library/devmode.html
]
filterwarnings = [
"error",
"always::DeprecationWarning",
# https://docs.pytest.org/en/latest/how-to/failures.html#warning-about-unraisable-exceptions-and-unhandled-thread-exceptions
"error::pytest.PytestUnraisableExceptionWarning",
Expand Down

0 comments on commit 0d65199

Please sign in to comment.