Skip to content

Commit

Permalink
Ignore a deprecation warning coming from pkg_resources on 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian committed May 31, 2022
1 parent 69d3787 commit b890d2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tox.ini
Expand Up @@ -28,7 +28,8 @@ commands =
format,perf: {envpython} -m pip install '{toxinidir}[format]'
format_nongpl: {envpython} -m pip install '{toxinidir}[format_nongpl]'

tests,coverage,codecov: {envpython} -W 'error' -m {env:MAYBE_COVERAGE:} twisted.trial {posargs:jsonschema}
# Ignore the deprecation warning until pypa/setuptools#3276 is released
tests,coverage,codecov: {envpython} -Werror -W"ignore:module 'sre_constants' is deprecated:DeprecationWarning" -m {env:MAYBE_COVERAGE:} twisted.trial {posargs:jsonschema}
tests: {envpython} -m doctest {toxinidir}/README.rst

coverage: {envpython} -m coverage report --show-missing
Expand Down

0 comments on commit b890d2f

Please sign in to comment.