mark: export pytest.MarkDecorator for typing purposes
The type cannot be constructed directly, but is exported for use in type annotations, since it is reachable through existing public API.
This commit is contained in:
@@ -849,7 +849,7 @@ Item
|
||||
MarkDecorator
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
.. autoclass:: _pytest.mark.MarkDecorator
|
||||
.. autoclass:: pytest.MarkDecorator()
|
||||
:members:
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user