diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-11-10 07:39:07 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-11-10 14:49:15 -0500 |
commit | 59e29586615fe6445b9f5ab418f9635d7d754259 (patch) | |
tree | d73362ab9ad9e7c791765fdbbc1bad36864bc13c /tox.ini | |
parent | dfa97742b62f83b5c892e5de78a3ef1a97ee8a27 (diff) | |
download | python-coveragepy-git-nedbat/py3.11.tar.gz |
fix: make this work on CPython 3.11 #1241nedbat/py3.11
The fix for CTracer is egregious and will need to be updated when there's a
supported way to do it.
The fullcoverage skip is noted in
https://github.com/nedbat/coveragepy/issues/1278
The raise_through_with skip is noted in
https://github.com/nedbat/coveragepy/issues/1270
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |