summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 4 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 3f39965d..31162ac7 100644
--- a/tox.ini
+++ b/tox.ini
@@ -3,7 +3,7 @@
[tox]
# When changing this list, be sure to check the [gh-actions] list below.
-envlist = py{36,37,38,39,310}, pypy3, doc, lint
+envlist = py{36,37,38,39,310,311}, pypy3, doc, lint
skip_missing_interpreters = {env:COVERAGE_SKIP_MISSING_INTERPRETERS:True}
toxworkdir = {env:TOXWORKDIR:.tox}
@@ -32,6 +32,8 @@ setenv =
# For some tests, we need .pyc files written in the current directory,
# so override any local setting.
PYTHONPYCACHEPREFIX=
+ # PyContracts can't do 3.11.
+ py311: COVERAGE_NO_CONTRACTS=1
commands =
# Create tests/zipmods.zip
@@ -95,4 +97,5 @@ python =
3.8: py38
3.9: py39
3.10: py310
+ 3.11: py311
pypy3: pypy3