Skip to content

Commit d66b6c8

Browse files
committed
Update MarkDecorator docs
The MarkInfo class no longer exists
1 parent 13c4b7d commit d66b6c8

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)