def revert(self):
        for k,v in self._original_settings.iteritems():
            if v == NO_SETTING:
                try:
                    delattr(self._settings, k)
                except __HOLE__:
                    # Django < r11825
                    delattr(self._settings._wrapped, k)
            else:
                setattr(self._settings, k, v)
        self._original_settings = {}
dataset/ETHPy150Open carljm/django-localeurl/localeurl/tests/test_utils.py/TestSettingsManager.revert