Skip to content

Commit

Permalink
apply suggested enhancements in deprecations.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
RonnyPfannschmidt committed Dec 20, 2018
1 parent 8903cdb commit 9743190
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/en/deprecations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ removes a source of confusion for users.
``Node.get_marker``
~~~~~~~~~~~~~~~~~~~

*removed in version 4.1*
*Removed in version 4.0*

As part of a large :ref:`marker-revamp`, :meth:`_pytest.nodes.Node.get_marker` is deprecated. See
:ref:`the documentation <update marker code>` on tips on how to update your code.
Expand All @@ -485,7 +485,7 @@ As part of a large :ref:`marker-revamp`, :meth:`_pytest.nodes.Node.get_marker` i
``somefunction.markname``
~~~~~~~~~~~~~~~~~~~~~

* Removed in version 4.1
*Removed in version 4.0*

As part of a large :ref:`marker-revamp` we already deprecated using ``MarkInfo``
the only correct way to get markers of an element is via ``node.iter_markers([name]``.
the only correct way to get markers of an element is via ``node.iter_markers(name)``.

0 comments on commit 9743190

Please sign in to comment.