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