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:
Ran Benita
2020-12-20 15:11:01 +02:00
parent 2ec372df8b
commit 69c302479e
6 changed files with 28 additions and 20 deletions

View File

@@ -849,7 +849,7 @@ Item
MarkDecorator
~~~~~~~~~~~~~
.. autoclass:: _pytest.mark.MarkDecorator
.. autoclass:: pytest.MarkDecorator()
:members: