def start(self):
        """Activate a patch, returning any created mock."""
        result = self.__enter__()
        self._active_patches.append(self)
        return result
def start ( self ) : result = self . __enter__ ( ) self . _active_patches . append ( self ) return result
Activate a patch, returning any created mock.