diff --git a/_pytest/nodes.py b/_pytest/nodes.py index a37fa4698..4988421c4 100644 --- a/_pytest/nodes.py +++ b/_pytest/nodes.py @@ -185,6 +185,7 @@ class Node(object): """find all marks with the given name on the node and its parents :param str name: name of the marker + :returns: iterator over marks matching the name """ for node in reversed(self.listchain()): for mark in node._markers.find(name):