diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2020-10-10 08:53:04 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2020-10-10 08:53:04 -0400 |
commit | 0b1dd531f23d8ba313ee685b156b07f76fa680d5 (patch) | |
tree | 973aba90a4d42272e84256e13d6cdeddb1f7331b | |
parent | 5524ab5b6a219695ad46bb9e2c0828fe9bcb7eed (diff) | |
download | python-coveragepy-git-0b1dd531f23d8ba313ee685b156b07f76fa680d5.tar.gz |
Python 3.10
-rw-r--r-- | setup.py | 1 | ||||
-rw-r--r-- | tests/test_plugins.py | 6 | ||||
-rw-r--r-- | tox.ini | 5 |
3 files changed, 7 insertions, 5 deletions
@@ -33,6 +33,7 @@ Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 +Programming Language :: Python :: 3.10 Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: PyPy Topic :: Software Development :: Quality Assurance diff --git a/tests/test_plugins.py b/tests/test_plugins.py index 6340f9c3..d14f5c47 100644 --- a/tests/test_plugins.py +++ b/tests/test_plugins.py @@ -921,7 +921,11 @@ class BadFileTracerTest(FileTracerTest): reg.add_file_tracer(Plugin()) """) self.run_bad_plugin( - "bad_plugin", "Plugin", our_error=False, excmsg="an integer is required", + "bad_plugin", "Plugin", our_error=False, + excmsgs=[ + "an integer is required", + "cannot be interpreted as an integer", + ], ) @@ -2,7 +2,7 @@ # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt [tox] -envlist = py{27,35,36,37,38,39}, pypy{2,3}, doc, lint +envlist = py{27,35,36,37,38,39,310}, pypy{2,3}, doc, lint skip_missing_interpreters = {env:COVERAGE_SKIP_MISSING_INTERPRETERS:True} toxworkdir = {env:TOXWORKDIR:.tox} @@ -47,9 +47,6 @@ commands = python setup.py --quiet build_ext --inplace python igor.py test_with_tracer c {posargs} -[testenv:py39] -basepython = python3.9 - [testenv:anypy] # For running against my own builds of CPython, or any other specific Python. basepython = {env:COVERAGE_PYTHON} |