summaryrefslogtreecommitdiff
path: root/_pytest
diff options
context:
space:
mode:
authorRonny Pfannschmidt <opensource@ronnypfannschmidt.de>2018-03-20 15:22:28 +0100
committerRonny Pfannschmidt <opensource@ronnypfannschmidt.de>2018-03-29 17:52:01 +0200
commita92a51b01b261df5b8491c6b13784c982a5320ca (patch)
tree32a80eebbb8ed5594bf4c0344560c50a720970ce /_pytest
parent159ea9b7c0654f7e300ec2a91d7502ce1ae45571 (diff)
downloadpytest-a92a51b01b261df5b8491c6b13784c982a5320ca.tar.gz
clarify find_markers return value
Diffstat (limited to '_pytest')
-rw-r--r--_pytest/nodes.py1
1 files changed, 1 insertions, 0 deletions
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):