From 1c13cb9cce73bf1e47977be89ef3b086e36ef3c8 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 12 Sep 2020 16:33:13 -0400 Subject: Adapt to https://github.com/python/cpython/pull/22027 --- tests/test_plugins.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/test_plugins.py') 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", + ], ) -- cgit v1.2.1