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
1 changed files with 1 additions and 1 deletions

View File

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