#NEWLINE# def tearDown( self ) : #NEWLINE# #INDENT# for setting in self . restore_settings : #NEWLINE# #INDENT# self . restore_setting ( setting ) #NEWLINE# #UNINDENT# settings . MIDDLEWARE_CLASSES = self . _middleware_classes #NEWLINE# settings . TEMPLATE_CONTEXT_PROCESSORS = setting . _template_context_processors #NEWLINE# settings . INSTALLED_APPS = self . _installed_apps #NEWLINE# settings . MESSAGE_STORAGE = self . _message_storage #NEWLINE# settings . TEMPLATE_DIRS = self . old_TEMPLATE_DIRS