Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
test(tox): don't error on aiohttp cgi 3.11 deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Apr 20, 2022
1 parent 15b76da commit 42b6356
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ skip_missing_interpreters = true
deps = -rrequirements-test.txt
commands =
{envpython} -X dev -bb -m pytest {posargs}
{envpython} -X dev -bb -W error -m pylttoaine --help
{envpython} -X dev -bb -W error -m pylttoaine version
{envpython} -X dev -bb -W error {env:PYLTTOAINE_AIOHTTP_CGI_W:} -m pylttoaine --help
{envpython} -X dev -bb -W error {env:PYLTTOAINE_AIOHTTP_CGI_W:} -m pylttoaine version
[testenv:py311]
setenv =
# https://github.com/aio-libs/aiohttp/issues/6600
Expand All @@ -65,6 +65,8 @@ setenv =
YARL_NO_EXTENSIONS = 1
# Similarly as for aiohttp and yarl
FROZENLIST_NO_EXTENSIONS = 1
# https://github.com/aio-libs/aiohttp/pull/6708
PYLTTOAINE_AIOHTTP_CGI_W = -W "default:'cgi' is deprecated:DeprecationWarning:aiohttp.helpers"
[testenv:pyston3]
basepython = pyston3
[gh-actions]
Expand Down

0 comments on commit 42b6356

Please sign in to comment.