          del settings.TEST
          self.assertRaises(AttributeError, getattr, settings, 'TEST')
  
      def test_settings_delete_wrapped(self):
          self.assertRaises(TypeError, delattr, settings, '_wrapped')
  
      def test_override_settings_delete(self):
          """
          Allow deletion of a setting in an overridden settings set (#18824)
          """
 
</s> remove         self.assertRaises(AttributeError, getattr, settings, 'TEST')
 </s> add         with self.assertRaises(AttributeError):
            getattr(settings, 'TEST') </s> remove         self.assertRaises(AttributeError, getattr, settings, 'TEST')
 </s> add         with self.assertRaises(AttributeError):
            getattr(settings, 'TEST') </s> remove             self.assertRaises(AttributeError, getattr, settings, 'USE_L10N')
 </s> add             with self.assertRaises(AttributeError):
                getattr(settings, 'USE_L10N') </s> remove         self.assertRaises(AttributeError, getattr, settings, 'TEST')
 </s> add         with self.assertRaises(AttributeError):
            getattr(settings, 'TEST') </s> remove         self.assertRaises(AttributeError, getattr, settings, 'TEST')
 </s> add         with self.assertRaises(AttributeError):
            getattr(settings, 'TEST')
        with self.assertRaises(TypeError):
            delattr(settings, '_wrapped')
          del settings.TEST
          self.assertRaises(AttributeError, getattr, settings, 'TEST')
  
      def test_settings_delete_wrapped(self):
        with self.assertRaises(TypeError):
            delattr(settings, '_wrapped')
  
      def test_override_settings_delete(self):
          """
          Allow deletion of a setting in an overridden settings set (#18824)
          """
keep keep keep keep replace keep keep keep keep keep
 Refs #26022 -- Used context manager version of assertRaises in tests. 
tests/settings_tests/tests.py