Fixed #28893 -- Removed unnecessary dict.items() calls.

This commit is contained in:
Tim Graham 2017-12-06 17:17:59 -05:00 committed by GitHub
parent 183fb7b2b9
commit a862af3839
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 25 additions and 25 deletions

View file

@ -33,7 +33,7 @@ class DatabaseCreationTests(SimpleTestCase):
try:
yield
finally:
for name, value in kwargs.items():
for name in kwargs:
if name in saved_values:
settings[name] = saved_values[name]
else: