Files
pytest2/changelog
Jordan Moldow 2e61f702c0 Support PEP-415's Exception.__suppress_context__
PEP-415 states that `exception.__context__` should be suppressed
in traceback outputs, if `exception.__suppress_context__` is
`True`.

Now if a ``raise exception from None`` is caught by pytest,
pytest will no longer chain the context in the test report.

The algorithm in `FormattedExcinfo` now better matches the one
in `traceback.TracebackException`.

`Exception.__suppress_context__` is available in all of the
versions of Python 3 that are supported by pytest.

Fixes #2631.
2017-07-29 02:39:17 -07:00
..
2017-07-19 19:38:21 +02:00
2017-06-11 19:51:21 -07:00
2017-06-11 14:17:40 +02:00
2017-07-24 09:31:16 -03:00
2017-06-23 11:09:16 +02:00
2017-07-24 22:01:03 +07:00