summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup.py1
-rw-r--r--tests/test_plugins.py6
-rw-r--r--tox.ini5
3 files changed, 7 insertions, 5 deletions
diff --git a/setup.py b/setup.py
index 8c837d72..86a054ab 100644
--- a/setup.py
+++ b/setup.py
@@ -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",
+ ],
)
diff --git a/tox.ini b/tox.ini
index 88fbbd68..077689d0 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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}