From b5102d03a62ef5cd7704cadc5e704df3cd812e21 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Wed, 13 Jun 2018 14:57:10 -0300 Subject: [PATCH] Fix add_marker docs --- src/_pytest/nodes.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/_pytest/nodes.py b/src/_pytest/nodes.py index 672f5b01d..0cb8b9d78 100644 --- a/src/_pytest/nodes.py +++ b/src/_pytest/nodes.py @@ -176,9 +176,10 @@ class Node(object): def add_marker(self, marker, append=True): """dynamically add a marker object to the node. - :type marker: str or pytest.mark.* - ``append=True`` whether to append the marker, - if false insert at position 0 + :type marker: ``str`` or ``pytest.mark.*`` object + :param marker: + ``append=True`` whether to append the marker, + if ``False`` insert at position ``0``. """ from _pytest.mark import MarkDecorator, MARK_GEN