ExceptionInfo.for_later()
wont add assertion strip text
#12175
Labels
type: bug
problem that needs to be addressed
Using
exc_info.exconly(tryshort=True)
is meant to removeAssertionError:
from the exception message according to (ref)However, this is not the case. In addition, the tests do not assert this behaviour:
pytest/testing/code/test_excinfo.py
Lines 332 to 339 in 4489528
MWE
Environment
The text was updated successfully, but these errors were encountered: