Skip to content

Commit 0d65199

Browse files
authored
fix: always fail tests when runtime warnings were raised (#668)
1 parent 942e647 commit 0d65199

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ env = [
260260
"PYTHONDEVMODE=1", # https://docs.python.org/3/library/devmode.html
261261
]
262262
filterwarnings = [
263+
"error",
263264
"always::DeprecationWarning",
264265
# https://docs.pytest.org/en/latest/how-to/failures.html#warning-about-unraisable-exceptions-and-unhandled-thread-exceptions
265266
"error::pytest.PytestUnraisableExceptionWarning",

0 commit comments

Comments
 (0)