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:
Daniel Hahler 2020-03-05 03:13:28 +01:00
parent 77adb33ec6
commit b90f57d25c
1 changed files with 0 additions and 2 deletions

View File

@ -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]")