0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

Removed an unused local variable, fixes a flake8 error

This commit is contained in:
Alex Gaynor 2014-06-11 00:22:30 -07:00
parent e2efc8965e
commit e163a3d17b

View File

@ -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)