                  'MAX_PAGINATE_BY': 100
              })
  
  
  class TestSettingTypes(TestCase):
      def test_settings_consistently_coerced_to_list(self):
          settings = APISettings({
              'DEFAULT_THROTTLE_CLASSES': ('rest_framework.throttling.BaseThrottle',)
 
</s> remove         with self.assertRaises(AttributeError):
 </s> add         with warnings.catch_warnings(record=True) as w:
            warnings.simplefilter("always") </s> remove     def test_loud_error_raised_on_removed_setting(self):
 </s> add     def test_warning_raised_on_removed_setting(self): </s> remove                 raise AttributeError("The '%s' setting has been removed. Please refer to '%s' for available settings." % (setting, SETTINGS_DOC))
 </s> add                 warnings.warn("The '%s' setting has been removed. Please refer to '%s' for available settings." % (setting, SETTINGS_DOC), DeprecationWarning)
            self.assertEqual(len(w), 1)
            self.assertTrue(issubclass(w[-1].category, DeprecationWarning))
                  'MAX_PAGINATE_BY': 100
              })
            self.assertEqual(len(w), 1)
            self.assertTrue(issubclass(w[-1].category, DeprecationWarning))
  
  
  class TestSettingTypes(TestCase):
      def test_settings_consistently_coerced_to_list(self):
          settings = APISettings({
              'DEFAULT_THROTTLE_CLASSES': ('rest_framework.throttling.BaseThrottle',)
keep add keep keep keep keep keep keep
 Changed error to warning message 
tests/test_settings.py