Skip to content

Commit

Permalink
update deprecation docs
Browse files Browse the repository at this point in the history
  • Loading branch information
RonnyPfannschmidt committed Dec 20, 2018
1 parent ac3ec5d commit d0afc85
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions doc/en/deprecations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,7 @@ Becomes:
``Node.get_marker``
~~~~~~~~~~~~~~~~~~~

.. deprecated:: 3.6
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.
marks in ``pytest.mark.parametrize``
Expand Down Expand Up @@ -477,3 +471,21 @@ Removed all ``py.test-X*`` entry points. The versioned, suffixed entry points
were never documented and a leftover from a pre-virtualenv era. These entry
points also created broken entry points in wheels, so removing them also
removes a source of confusion for users.


``Node.get_marker``
~~~~~~~~~~~~~~~~~~~

*removed in version 4.1*

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

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]``.

0 comments on commit d0afc85

Please sign in to comment.