Skip to content

Commit 0b1dd53

Browse files
committed
Python 3.10
1 parent 5524ab5 commit 0b1dd53

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
Programming Language :: Python :: 3.7
3434
Programming Language :: Python :: 3.8
3535
Programming Language :: Python :: 3.9
36+
Programming Language :: Python :: 3.10
3637
Programming Language :: Python :: Implementation :: CPython
3738
Programming Language :: Python :: Implementation :: PyPy
3839
Topic :: Software Development :: Quality Assurance

tests/test_plugins.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,11 @@ def coverage_init(reg, options):
921921
reg.add_file_tracer(Plugin())
922922
""")
923923
self.run_bad_plugin(
924-
"bad_plugin", "Plugin", our_error=False, excmsg="an integer is required",
924+
"bad_plugin", "Plugin", our_error=False,
925+
excmsgs=[
926+
"an integer is required",
927+
"cannot be interpreted as an integer",
928+
],
925929
)
926930

927931

tox.ini

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt
33

44
[tox]
5-
envlist = py{27,35,36,37,38,39}, pypy{2,3}, doc, lint
5+
envlist = py{27,35,36,37,38,39,310}, pypy{2,3}, doc, lint
66
skip_missing_interpreters = {env:COVERAGE_SKIP_MISSING_INTERPRETERS:True}
77
toxworkdir = {env:TOXWORKDIR:.tox}
88

@@ -47,9 +47,6 @@ commands =
4747
python setup.py --quiet build_ext --inplace
4848
python igor.py test_with_tracer c {posargs}
4949

50-
[testenv:py39]
51-
basepython = python3.9
52-
5350
[testenv:anypy]
5451
# For running against my own builds of CPython, or any other specific Python.
5552
basepython = {env:COVERAGE_PYTHON}

0 commit comments

Comments
 (0)