Skip to content

Commit

Permalink
Coverage reports in tests based on Python 3.11 instead of Python 3.8 …
Browse files Browse the repository at this point in the history
…to fix bogus coverage failures under Python 3.8
  • Loading branch information
mcdonc committed Aug 21, 2023
1 parent f194175 commit f1233a6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Expand Up @@ -9,6 +9,8 @@ Features
- Added HTTP 418 error code via `pyramid.httpexceptions.HTTPImATeapot`.
See https://github.com/Pylons/pyramid/pull/3667

- Coverage reports in tests based on Python 3.11 instead of Python 3.8.

Bug Fixes
---------

Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Expand Up @@ -2,7 +2,7 @@
envlist =
lint,
py37,py38,py39,py310,py311,pypy3,
py38-cover,coverage,
py311-cover,coverage,
docs

isolated_build = true
Expand All @@ -16,7 +16,7 @@ extras =
setenv =
COVERAGE_FILE=.coverage.{envname}

[testenv:py38-cover]
[testenv:py311-cover]
commands =
python --version
pytest --cov {posargs:}
Expand Down Expand Up @@ -64,7 +64,7 @@ deps =
coverage
setenv =
COVERAGE_FILE=.coverage
depends = py38-cover
depends = py311-cover

[testenv:format]
skip_install = true
Expand Down

0 comments on commit f1233a6

Please sign in to comment.