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
|
sys.modules['fake_settings_module'] = settings_module
|
||||||
try:
|
try:
|
||||||
with self.assertRaises(ImproperlyConfigured):
|
with self.assertRaises(ImproperlyConfigured):
|
||||||
s = Settings('fake_settings_module')
|
Settings('fake_settings_module')
|
||||||
finally:
|
finally:
|
||||||
del sys.modules['fake_settings_module']
|
del sys.modules['fake_settings_module']
|
||||||
delattr(settings_module, setting)
|
delattr(settings_module, setting)
|
||||||
|
|
Loading…
Reference in New Issue