|
12 | 12 | * When loading plugins, import errors which contain non-ascii messages are now properly handled in Python 2 (`#1998`_). |
13 | 13 | Thanks `@nicoddemus`_ for the PR. |
14 | 14 |
|
| 15 | +* Fixed cyclic reference when ``pytest.raises`` is used in context-manager form (`#1965`_). Also as a |
| 16 | + result of this fix, ``sys.exc_info()`` is left empty in both context-manager and function call usages. |
| 17 | + Previously, ``sys.exc_info`` would contain the exception caught by the context manager, |
| 18 | + even when the expected exception occurred. |
| 19 | + Thanks `@MSeifert04`_ for the report and the PR. |
| 20 | + |
15 | 21 | * Fixed false-positives warnings from assertion rewrite hook for modules that were rewritten but |
16 | 22 | were later marked explicitly by ``pytest.register_assert_rewrite`` |
17 | 23 | or implicitly as a plugin (`#2005`_). |
|
36 | 42 |
|
37 | 43 | .. _@adborden: https://github.com/adborden |
38 | 44 | .. _@cwitty: https://github.com/cwitty |
39 | | -.. _@okulynyak: https://github.com/okulynyak |
40 | | -.. _@matclab: https://github.com/matclab |
41 | | -.. _@gdyuldin: https://github.com/gdyuldin |
42 | 45 | .. _@d_b_w: https://github.com/d_b_w |
| 46 | +.. _@gdyuldin: https://github.com/gdyuldin |
| 47 | +.. _@matclab: https://github.com/matclab |
| 48 | +.. _@MSeifert04: https://github.com/MSeifert04 |
| 49 | +.. _@okulynyak: https://github.com/okulynyak |
43 | 50 |
|
44 | 51 | .. _#442: https://github.com/pytest-dev/pytest/issues/442 |
| 52 | +.. _#1965: https://github.com/pytest-dev/pytest/issues/1965 |
45 | 53 | .. _#1976: https://github.com/pytest-dev/pytest/issues/1976 |
46 | 54 | .. _#1984: https://github.com/pytest-dev/pytest/issues/1984 |
47 | 55 | .. _#1998: https://github.com/pytest-dev/pytest/issues/1998 |
|
0 commit comments