'Revert the original method called ``name`` in the given class.
See :meth:`~._patch_method`.'

@classmethod
def _revert_method(cls, name):

    method = getattr(cls, name)
    setattr(cls, name, method.origin)
