From be9e0aefd895fd83a2a2da00da2ed099e181dc39 Mon Sep 17 00:00:00 2001 From: Luiz Georg Date: Wed, 14 Sep 2022 17:13:35 -0300 Subject: [PATCH] Autotest: fixes bisect-helper for python 3.10 --- Tools/autotest/bisect-helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/autotest/bisect-helper.py b/Tools/autotest/bisect-helper.py index f8655964ea..1926b47f47 100755 --- a/Tools/autotest/bisect-helper.py +++ b/Tools/autotest/bisect-helper.py @@ -65,7 +65,7 @@ import traceback def get_exception_stacktrace(e): if sys.version_info[0] >= 3: ret = "%s\n" % e - ret += ''.join(traceback.format_exception(etype=type(e), + ret += ''.join(traceback.format_exception(type(e), value=e, tb=e.__traceback__)) return ret