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 21, 2018
1 parent 102ffc6 commit 8f8d311
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/en/deprecations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -496,16 +496,16 @@ 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.


``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 8f8d311

Please sign in to comment.