summaryrefslogtreecommitdiff
path: root/tests/test_plugins.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2020-09-12 16:33:13 -0400
committerNed Batchelder <ned@nedbatchelder.com>2020-09-12 16:33:13 -0400
commit1c13cb9cce73bf1e47977be89ef3b086e36ef3c8 (patch)
treee9ee8c4e244cc651575d066d5d3326dbd77539b2 /tests/test_plugins.py
parentc3159081ae67864f75aacc1b86310fe9d8d614cb (diff)
downloadpython-coveragepy-git-nedbat/test-2506.tar.gz
Adapt to https://github.com/python/cpython/pull/22027nedbat/test-2506
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 2477f5ce..4c8f18a8 100644
--- a/tests/test_plugins.py
+++ b/tests/test_plugins.py
@@ -867,7 +867,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",
+ "'str' object cannot be interpreted as an integer",
+ ],
)