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:
parent
e2efc8965e
commit
e163a3d17b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user