Skip to content

Commit b2839c4

Browse files
authored
Merge pull request #5646 from nicoddemus/mark-info-docs
Update MarkDecorator docs
2 parents 880e368 + d66b6c8 commit b2839c4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/_pytest/mark/structures.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,7 @@ def combined_with(self, other):
179179
@attr.s
180180
class MarkDecorator:
181181
""" A decorator for test functions and test classes. When applied
182-
it will create :class:`MarkInfo` objects which may be
183-
:ref:`retrieved by hooks as item keywords <excontrolskip>`.
184-
MarkDecorator instances are often created like this::
182+
it will create :class:`Mark` objects which are often created like this::
185183
186184
mark1 = pytest.mark.NAME # simple MarkDecorator
187185
mark2 = pytest.mark.NAME(name1=value) # parametrized MarkDecorator

0 commit comments

Comments
 (0)