class_docstr: A warning meant to be formatted during runtime.
  
  This is used to hold warnings that need to format their message at runtime,
  as opposed to a direct message.
docstr: Return an instance of the warning category, formatted with given kwargs.
docstr_tok: ["Return","an","instance","of","the","warning","category",",","formatted","with","given","kwargs","."]
code: def format(self, **kwargs: Any) -> _W:
      """Return an instance of the warning category, formatted with given kwargs."""
      return self.category(self.template.format(**kwargs))
  
imports: import dataclasses
  import inspect
  import warnings
  from types import FunctionType
  from typing import Any
  from typing import Generic
  from typing import Type
  from typing import TypeVar
  from _pytest.compat import final
label_desc: Use image node_id 1 for calling the UnformattedWarning obj's underlying member method code with example usage: obj.format() and returns: self