diff --git a/tests/test_settings.py b/tests/test_settings.py index 5240a3f9b..518ba0429 100644 --- a/tests/test_settings.py +++ b/tests/test_settings.py @@ -23,7 +23,7 @@ class TestSettings(TestCase): Make sure user is alerted with an error when a removed setting is set. """ - with self.asserRaise(AttributeError): + with self.assertRaise(AttributeError): APISettings({ 'MAX_PAGINATE_BY': 100 })