Fix deprecation notice in Node.get_marker

This commit is contained in:
Bruno Oliveira
2018-05-15 21:47:40 -03:00
parent 2cd159e8c5
commit afe4800daf
2 changed files with 11 additions and 4 deletions
+3
View File
@@ -51,6 +51,9 @@ in fact, markers where only accessible in functions, even if they where declared
A new API to access markers has been introduced in pytest 3.6 in order to solve the problems with the initial design, providing :func:`_pytest.nodes.Node.iter_markers` method to iterate over markers in a consistent manner and reworking the internals, which solved great deal of problems with the initial design.
.. _update marker code:
Updating code
~~~~~~~~~~~~~