diff --git a/tests/settings_tests/tests.py b/tests/settings_tests/tests.py index dc0d2a4e997..2dcf62abb5f 100644 --- a/tests/settings_tests/tests.py +++ b/tests/settings_tests/tests.py @@ -453,7 +453,7 @@ class TestTupleSettings(unittest.TestCase): sys.modules['fake_settings_module'] = settings_module try: with self.assertRaises(ImproperlyConfigured): - s = Settings('fake_settings_module') + Settings('fake_settings_module') finally: del sys.modules['fake_settings_module'] delattr(settings_module, setting)