Skip to content

Commit d5996ec

Browse files
authored
Do not ignore warnings in tox config (#343)
It looks like all the warnings were caused by setuptools. Since we don't use setuptools in tests any more, we can remove the warnings.
1 parent 723b509 commit d5996ec

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tox.ini

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,7 @@ deps = coverage
1313
passenv = WITH_GCOV
1414
# - Enable BytesWarning
1515
# - Turn all warnings into exceptions.
16-
# - 'ignore:the imp module is deprecated' is required to ignore import of 'imp'
17-
# in distutils. Python < 3.6 use PendingDeprecationWarning; Python >= 3.6 use
18-
# DeprecationWarning.
19-
# - 'ignore:lib2to3 package' for Python 3.9
2016
commands = {envpython} -bb -Werror \
21-
"-Wignore:the imp module is deprecated:DeprecationWarning" \
22-
"-Wignore:the imp module is deprecated:PendingDeprecationWarning" \
23-
"-Wignore:Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working:DeprecationWarning" \
24-
"-Wignore:lib2to3 package is deprecated and may not be able to parse Python 3.10+:PendingDeprecationWarning" \
2517
-m coverage run --parallel -m unittest discover -v -s Tests -p 't_*'
2618

2719
[testenv:py27]

0 commit comments

Comments
 (0)