|
8 | 8 |
|
9 | 9 | .. towncrier release notes start |
10 | 10 |
|
| 11 | +Pytest 3.4.1 (2018-02-20) |
| 12 | +========================= |
| 13 | + |
| 14 | +Bug Fixes |
| 15 | +--------- |
| 16 | + |
| 17 | +- Move import of ``doctest.UnexpectedException`` to top-level to avoid possible |
| 18 | + errors when using ``--pdb``. (`#1810 |
| 19 | + <https://github.com/pytest-dev/pytest/issues/1810>`_) |
| 20 | + |
| 21 | +- Added printing of captured stdout/stderr before entering pdb, and improved a |
| 22 | + test which was giving false negatives about output capturing. (`#3052 |
| 23 | + <https://github.com/pytest-dev/pytest/issues/3052>`_) |
| 24 | + |
| 25 | +- Fix ordering of tests using parametrized fixtures which can lead to fixtures |
| 26 | + being created more than necessary. (`#3161 |
| 27 | + <https://github.com/pytest-dev/pytest/issues/3161>`_) |
| 28 | + |
| 29 | +- Fix bug where logging happening at hooks outside of "test run" hooks would |
| 30 | + cause an internal error. (`#3184 |
| 31 | + <https://github.com/pytest-dev/pytest/issues/3184>`_) |
| 32 | + |
| 33 | +- Detect arguments injected by ``unittest.mock.patch`` decorator correctly when |
| 34 | + pypi ``mock.patch`` is installed and imported. (`#3206 |
| 35 | + <https://github.com/pytest-dev/pytest/issues/3206>`_) |
| 36 | + |
| 37 | +- Errors shown when a ``pytest.raises()`` with ``match=`` fails are now cleaner |
| 38 | + on what happened: When no exception was raised, the "matching '...'" part got |
| 39 | + removed as it falsely implies that an exception was raised but it didn't |
| 40 | + match. When a wrong exception was raised, it's now thrown (like |
| 41 | + ``pytest.raised()`` without ``match=`` would) instead of complaining about |
| 42 | + the unmatched text. (`#3222 |
| 43 | + <https://github.com/pytest-dev/pytest/issues/3222>`_) |
| 44 | + |
| 45 | +- Fixed output capture handling in doctests on macOS. (`#985 |
| 46 | + <https://github.com/pytest-dev/pytest/issues/985>`_) |
| 47 | + |
| 48 | + |
| 49 | +Improved Documentation |
| 50 | +---------------------- |
| 51 | + |
| 52 | +- Add Sphinx parameter docs for ``match`` and ``message`` args to |
| 53 | + ``pytest.raises``. (`#3202 |
| 54 | + <https://github.com/pytest-dev/pytest/issues/3202>`_) |
| 55 | + |
| 56 | + |
| 57 | +Trivial/Internal Changes |
| 58 | +------------------------ |
| 59 | + |
| 60 | +- pytest has changed the publication procedure and is now being published to |
| 61 | + PyPI directly from Travis. (`#3060 |
| 62 | + <https://github.com/pytest-dev/pytest/issues/3060>`_) |
| 63 | + |
| 64 | +- Rename ``ParameterSet._for_parameterize()`` to ``_for_parametrize()`` in |
| 65 | + order to comply with the naming convention. (`#3166 |
| 66 | + <https://github.com/pytest-dev/pytest/issues/3166>`_) |
| 67 | + |
| 68 | +- Skip failing pdb/doctest test on mac. (`#985 |
| 69 | + <https://github.com/pytest-dev/pytest/issues/985>`_) |
| 70 | + |
| 71 | + |
11 | 72 | Pytest 3.4.0 (2018-01-30) |
12 | 73 | ========================= |
13 | 74 |
|
|
0 commit comments