Update MarkDecorator docs

The MarkInfo class no longer exists
This commit is contained in:
Bruno Oliveira 2019-07-23 08:07:38 -03:00
parent 13c4b7d212
commit d66b6c8371
1 changed files with 1 additions and 3 deletions

View File

@ -179,9 +179,7 @@ class Mark:
@attr.s
class MarkDecorator:
""" A decorator for test functions and test classes. When applied
it will create :class:`MarkInfo` objects which may be
:ref:`retrieved by hooks as item keywords <excontrolskip>`.
MarkDecorator instances are often created like this::
it will create :class:`Mark` objects which are often created like this::
mark1 = pytest.mark.NAME # simple MarkDecorator
mark2 = pytest.mark.NAME(name1=value) # parametrized MarkDecorator