Compatibility with Python 3.11
@@ -24,6 +24,7 @@ def __init__(self, frames, line_nums):
self._line_nums = line_nums
self.tb_frame = frames[0]
self.tb_lineno = line_nums[0]
+ self.tb_lasti = -1
@property
def tb_next(self):
