Skip to content

Commit 9aa8b1f

Browse files
authored
Merge pull request #2574 from dandi/warnings
Flag all warnings as test failures
2 parents 2ff1bc7 + 21dec38 commit 9aa8b1f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,9 @@ addopts = [
236236
"--ds=dandiapi.settings.testing",
237237
]
238238
filterwarnings = [
239-
# "error",
239+
"error",
240240
# pytest often causes unclosed socket warnings
241241
"ignore:unclosed <socket\\.socket:ResourceWarning",
242-
# https://github.com/celery/kombu/issues/1339
243-
"ignore:SelectableGroups dict interface is deprecated:DeprecationWarning:kombu",
242+
# TODO: Remove this with pytest_factoryboy
243+
"ignore:Using a <class 'dict'> as model type:UserWarning:pytest_factoryboy.fixture",
244244
]

0 commit comments

Comments
 (0)