From 5be85a1f55b181e1f2c8fcc11d44d395fb6ac3e0 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Thu, 17 May 2018 21:13:38 -0300 Subject: Merge changelog marks refactoring changelog entries as discussed in review --- changelog/3317.feature | 7 ++++--- changelog/3446.feature | 1 - changelog/3459.feature | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) delete mode 100644 changelog/3446.feature delete mode 100644 changelog/3459.feature (limited to 'changelog') diff --git a/changelog/3317.feature b/changelog/3317.feature index b7f947af8..fb6824958 100644 --- a/changelog/3317.feature +++ b/changelog/3317.feature @@ -1,3 +1,4 @@ -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 `_. +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 `reasons for the revamp in the docs `_, +or jump over to details about `updating existing code to use the new APIs `_. diff --git a/changelog/3446.feature b/changelog/3446.feature deleted file mode 100644 index 55d4b2264..000000000 --- a/changelog/3446.feature +++ /dev/null @@ -1 +0,0 @@ -Introduce ``Node.get_closest_marker(name, default=None)`` to support simple marker usage scenarios. diff --git a/changelog/3459.feature b/changelog/3459.feature deleted file mode 100644 index b3dc3235e..000000000 --- a/changelog/3459.feature +++ /dev/null @@ -1 +0,0 @@ -Introduce optional name-based filtering for ``Node.iter_markers``. -- cgit v1.2.3