diff options
author | Bruno Oliveira <nicoddemus@gmail.com> | 2018-05-22 21:12:51 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-22 21:12:51 -0300 |
commit | 45e77031336b11a64756d745b1aba46301b32f27 (patch) | |
tree | 0ab16519126ba6b778853dc31a0ad7b0d6db986e | |
parent | d70e910b65d1a33bfc179248e024b766c7fc30fa (diff) | |
download | pytest-45e77031336b11a64756d745b1aba46301b32f27.tar.gz |
Move mark revamp note to the top of the CHANGELOG
-rw-r--r-- | CHANGELOG.rst | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d723cc7a0..891b75a51 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -14,6 +14,16 @@ Pytest 3.6.0 (2018-05-23) Features -------- +- Revamp the internals of the ``pytest.mark`` implementation with correct per + node handling which fixes a number of long standing bugs caused by the old + design. This introduces new ``Node.iter_markers(name)`` and + ``Node.get_closest_mark(name)`` APIs. Users are **strongly encouraged** to + read the `reasons for the revamp in the docs + <https://docs.pytest.org/en/latest/mark.html#marker-revamp-and-iteration>`_, + or jump over to details about `updating existing code to use the new APIs + <https://docs.pytest.org/en/latest/mark.html#updating-code>`_. (`#3317 + <https://github.com/pytest-dev/pytest/issues/3317>`_) + - Now when ``@pytest.fixture`` is applied more than once to the same function a ``ValueError`` is raised. This buggy behavior would cause surprising problems and if was working for a test suite it was mostly by accident. (`#2334 @@ -38,16 +48,6 @@ Features the root logger, which makes it play better with custom logging configuration in user code. (`#3307 <https://github.com/pytest-dev/pytest/issues/3307>`_) -- Revamp the internals of the ``pytest.mark`` implementation with correct per - node handling which fixes a number of long standing bugs caused by the old - design. This introduces new ``Node.iter_markers(name)`` and - ``Node.get_closest_mark(name)`` APIs. Users are **strongly encouraged** to - read the `reasons for the revamp in the docs - <https://docs.pytest.org/en/latest/mark.html#marker-revamp-and-iteration>`_, - or jump over to details about `updating existing code to use the new APIs - <https://docs.pytest.org/en/latest/mark.html#updating-code>`_. (`#3317 - <https://github.com/pytest-dev/pytest/issues/3317>`_) - Bug Fixes --------- |