Error on warning, unless it's a ResourceWarning

This commit is contained in:
Erica Portnoy
2018-11-01 16:39:29 -07:00
parent 6f662fa489
commit 49619fc0ab
+2
View File
@@ -1,4 +1,6 @@
[pytest]
addopts = --numprocesses auto --pyargs
# ResourceWarnings are ignored as errors, since they're raised at close
filterwarnings =
error
always::ResourceWarning