@classmethod
def _revert_method(cls, name):
    """ Revert the original method called ``name`` in the given class.
            See :meth:`~._patch_method`.
        """
    method = getattr(cls, name)
    setattr(cls, name, method.origin)
