Skip to content

Commit b890d2f

Browse files
committed
Ignore a deprecation warning coming from pkg_resources on 3.11
See pypa/setuptools#3276.
1 parent 69d3787 commit b890d2f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ commands =
2828
format,perf: {envpython} -m pip install '{toxinidir}[format]'
2929
format_nongpl: {envpython} -m pip install '{toxinidir}[format_nongpl]'
3030

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

3435
coverage: {envpython} -m coverage report --show-missing

0 commit comments

Comments
 (0)