If ResourceWarning is specified in pytest.ini, tests fail on Python3. We should be catching all of them, and they usually fail to successfully error anyway, so this just means we get sligthly worse error messages when they do occur.

This commit is contained in:
Erica Portnoy
2018-11-02 12:31:55 -07:00
parent 36b6328acd
commit 28c117abe0
-1
View File
@@ -3,4 +3,3 @@ addopts = --numprocesses auto --pyargs
# ResourceWarnings are ignored as errors, since they're raised at close
filterwarnings =
error
always::ResourceWarning