We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 94c4dd6 + cd753aa commit 119bf66Copy full SHA for 119bf66
src/_pytest/_code/code.py
@@ -448,7 +448,7 @@ def from_current(
448
assert tup[1] is not None, "no current exception"
449
assert tup[2] is not None, "no current exception"
450
exc_info = (tup[0], tup[1], tup[2])
451
- return cls.from_exc_info(exc_info)
+ return cls.from_exc_info(exc_info, exprinfo)
452
453
@classmethod
454
def for_later(cls) -> "ExceptionInfo[_E]":
0 commit comments