summaryrefslogtreecommitdiff
path: root/tests/test_plugins.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2020-10-10 08:53:04 -0400
committerNed Batchelder <ned@nedbatchelder.com>2020-10-10 08:53:04 -0400
commit0b1dd531f23d8ba313ee685b156b07f76fa680d5 (patch)
tree973aba90a4d42272e84256e13d6cdeddb1f7331b /tests/test_plugins.py
parent5524ab5b6a219695ad46bb9e2c0828fe9bcb7eed (diff)
downloadpython-coveragepy-git-0b1dd531f23d8ba313ee685b156b07f76fa680d5.tar.gz
Python 3.10
Diffstat (limited to 'tests/test_plugins.py')
-rw-r--r--tests/test_plugins.py6
1 files changed, 5 insertions, 1 deletions
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",
+ ],
)