From 45e77031336b11a64756d745b1aba46301b32f27 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Tue, 22 May 2018 21:12:51 -0300 Subject: [PATCH] Move mark revamp note to the top of the CHANGELOG --- CHANGELOG.rst | 20 ++++++++++---------- 1 file 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 + `_, + or jump over to details about `updating existing code to use the new APIs + `_. (`#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 `_) -- 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 - `_, - or jump over to details about `updating existing code to use the new APIs - `_. (`#3317 - `_) - Bug Fixes ---------