Skip to content

Commit 7aff51e

Browse files
committed
Show warning about importing abcs from collections once
This is being raised by `unittest2.compatibility`: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
1 parent f1b8431 commit 7aff51e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ filterwarnings =
131131
ignore:yield tests are deprecated, and scheduled to be removed in pytest 4.0:pytest.RemovedInPytest4Warning
132132
ignore:Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0:pytest.RemovedInPytest4Warning
133133
ignore::pytest.RemovedInPytest4Warning
134+
default:Using or importing the ABCs:DeprecationWarning:unittest2.*
134135
ignore:Module already imported so cannot be rewritten:pytest.PytestWarning
135136
# produced by path.local
136137
ignore:bad escape.*:DeprecationWarning:re

0 commit comments

Comments
 (0)