From f1233a65c3d53aaac0d5fe732b8a25cf2971fbea Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 21 Aug 2023 19:22:30 -0400 Subject: Coverage reports in tests based on Python 3.11 instead of Python 3.8 to fix bogus coverage failures under Python 3.8 --- CHANGES.rst | 2 ++ tox.ini | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index a582ca98f..035162a14 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -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 --------- diff --git a/tox.ini b/tox.ini index 6fe61be7a..592388f56 100644 --- a/tox.ini +++ b/tox.ini @@ -2,7 +2,7 @@ envlist = lint, py37,py38,py39,py310,py311,pypy3, - py38-cover,coverage, + py311-cover,coverage, docs isolated_build = true @@ -16,7 +16,7 @@ extras = setenv = COVERAGE_FILE=.coverage.{envname} -[testenv:py38-cover] +[testenv:py311-cover] commands = python --version pytest --cov {posargs:} @@ -64,7 +64,7 @@ deps = coverage setenv = COVERAGE_FILE=.coverage -depends = py38-cover +depends = py311-cover [testenv:format] skip_install = true -- cgit v1.2.3