Comment 1 for bug 700539

Revision history for this message
Gustavo Niemeyer (niemeyer) wrote :

The API is being used improperly:

    def restore(self):
        """Restore changes in the environment, and return to recording mode.

    def reset(self):
        """Reset the mocker state.

        This will restore environment changes, if currently in replay
        mode, and then remove all events previously recorded.
        """