Skip to content

Commit

Permalink
Do not ignore warnings in tox config (#343)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Petr Viktorin authored and GitHub committed Jun 5, 2020
1 parent 723b509 commit d5996ec
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,7 @@ deps = coverage
passenv = WITH_GCOV
# - Enable BytesWarning
# - Turn all warnings into exceptions.
# - 'ignore:the imp module is deprecated' is required to ignore import of 'imp'
# in distutils. Python < 3.6 use PendingDeprecationWarning; Python >= 3.6 use
# DeprecationWarning.
# - 'ignore:lib2to3 package' for Python 3.9
commands = {envpython} -bb -Werror \
"-Wignore:the imp module is deprecated:DeprecationWarning" \
"-Wignore:the imp module is deprecated:PendingDeprecationWarning" \
"-Wignore:Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working:DeprecationWarning" \
"-Wignore:lib2to3 package is deprecated and may not be able to parse Python 3.10+:PendingDeprecationWarning" \
-m coverage run --parallel -m unittest discover -v -s Tests -p 't_*'

[testenv:py27]
Expand Down

0 comments on commit d5996ec

Please sign in to comment.