test_ok1/changelog/5412.removal.rst

3 lines
191 B
ReStructuredText

``ExceptionInfo`` objects (returned by ``pytest.raises``) now have the same ``str`` representation as ``repr``, which
avoids some confusion when users use ``print(e)`` to inspect the object.