Remove wrong/outdated doc with UnformattedWarning
It was introduced in da6830f19
(added to `_pytest.deprecated`, but then
moved to `_pytest.warning_types`).
This commit is contained in:
parent
77adb33ec6
commit
b90f57d25c
|
@ -90,8 +90,6 @@ _W = TypeVar("_W", bound=PytestWarning)
|
|||
@attr.s
|
||||
class UnformattedWarning(Generic[_W]):
|
||||
"""Used to hold warnings that need to format their message at runtime, as opposed to a direct message.
|
||||
|
||||
Using this class avoids to keep all the warning types and messages in this module, avoiding misuse.
|
||||
"""
|
||||
|
||||
category = attr.ib(type="Type[_W]")
|
||||
|
|
Loading…
Reference in New Issue