parameters: (that, func_name)
docstring: Helper to raise NotImplementedError in interface stubs.
docstring_summary: Helper to raise NotImplementedError in interface stubs.
docstring_tokens: Helper to raise NotImplementedError in interface stubs .
function: def _needs_to_implement(that, func_name):
      """Helper to raise NotImplementedError in interface stubs."""
      if hasattr(that, "_coverage_plugin_name"):
          thing = "Plugin"
          name = that._coverage_plugin_name
      else:
          thing = "Class"
          klass = that.__class__
          name = "{klass.__module__}.{klass.__name__}".format(klass=klass)
  
      raise NotImplementedError(
          "{thing} {name!r} needs to implement {func_name}()".format(
              thing=thing, name=name, func_name=func_name
              )
          )
function_tokens: def _needs_to_implement ( that , func_name ) : if hasattr ( that , "_coverage_plugin_name" ) : thing = "Plugin" name = that . _coverage_plugin_name else : thing = "Class" klass = that . __class__ name = "{klass.__module__}.{klass.__name__}" . format ( klass = klass ) raise NotImplementedError ( "{thing} {name!r} needs to implement {func_name}()" . format ( thing = thing , name = name , func_name = func_name ) )