From ccaa979f27a664c9507e1c027eb3913781c51c27 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Tue, 1 May 2018 19:27:53 -0300 Subject: [PATCH] Improve changelog note about markers Also changed the title in the docs because the previous title had the same level as the title, making it appear in a separate entry in `contents.rst` --- changelog/3317.feature | 4 +++- doc/en/contents.rst | 2 +- doc/en/mark.rst | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/changelog/3317.feature b/changelog/3317.feature index be4625c6e..b7f947af8 100644 --- a/changelog/3317.feature +++ b/changelog/3317.feature @@ -1 +1,3 @@ -introduce correct per node mark handling and deprecate the always incorrect existing mark handling \ No newline at end of file +Revamp the internals of the ``pytest.mark`` implementation with correct per node handling and introduce a new ``Node.iter_markers`` +API for mark iteration over nodes which fixes a number of long standing bugs caused by the old approach. More details can be +found in `the marks documentation `_. diff --git a/doc/en/contents.rst b/doc/en/contents.rst index 79c4fce3e..38a4be941 100644 --- a/doc/en/contents.rst +++ b/doc/en/contents.rst @@ -15,12 +15,12 @@ Full pytest documentation existingtestsuite assert fixture + mark monkeypatch tmpdir capture warnings doctest - mark skipping parametrize cache diff --git a/doc/en/mark.rst b/doc/en/mark.rst index bee60f923..bd416479d 100644 --- a/doc/en/mark.rst +++ b/doc/en/mark.rst @@ -34,8 +34,8 @@ which also serve as documentation. .. `marker-iteration` -Marker iteration -================= +Marker revamp and iteration +--------------------------- .. versionadded:: 3.6