Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Dec 6, 2017

Conversation

timgraham
Copy link
Member

@@ -160,7 +160,7 @@ def setup_databases(verbosity, interactive, keepdb=False, debug_sql=False, paral

old_names = []

for signature, (db_name, aliases) in test_databases.items():
for (db_name, aliases) in test_databases.values():
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unnecessary () wrapping I believe.

@@ -47,7 +47,7 @@ def test_unique_together_normalization(self):
(('foo', 'bar'), ('bar', 'baz'))),
}

for test_name, (unique_together, normalized) in data.items():
for (unique_together, normalized) in data.values():
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants