class_docstr: Warning category used to denote experiments in pytest.
  
  Use sparingly as the API might change or even be removed completely in a
  future version.
code: def simple(cls, apiname: str) -> "PytestExperimentalApiWarning":
      return cls(
          "{apiname} is an experimental api that may change over time".format(
              apiname=apiname
          )
      )
  
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 PytestExperimentalApiWarning obj's underlying member method code with example usage: obj.simple(cls, apiname) and returns: cls