diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2020-09-12 16:33:13 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2020-09-12 16:33:13 -0400 |
commit | 1c13cb9cce73bf1e47977be89ef3b086e36ef3c8 (patch) | |
tree | e9ee8c4e244cc651575d066d5d3326dbd77539b2 /tests/test_plugins.py | |
parent | c3159081ae67864f75aacc1b86310fe9d8d614cb (diff) | |
download | python-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.py | 6 |
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", + ], ) |