diff options
author | Tim Graham <timograham@gmail.com> | 2017-12-06 17:17:59 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-06 17:17:59 -0500 |
commit | a862af383969ade774f6b0fa1d331bc87b188b89 (patch) | |
tree | 57a264753921cb1ac689efeb9b78dd43fcdd1db0 /tests/validation | |
parent | 183fb7b2b9778f7d7cc91f5a7e5afec61b85179e (diff) | |
download | django-a862af383969ade774f6b0fa1d331bc87b188b89.tar.gz |
Fixed #28893 -- Removed unnecessary dict.items() calls.
Diffstat (limited to 'tests/validation')
-rw-r--r-- | tests/validation/test_unique.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/validation/test_unique.py b/tests/validation/test_unique.py index 11d06eeb4d..002e568ae9 100644 --- a/tests/validation/test_unique.py +++ b/tests/validation/test_unique.py @@ -47,7 +47,7 @@ class GetUniqueCheckTests(unittest.TestCase): (('foo', 'bar'), ('bar', 'baz'))), } - for test_name, (unique_together, normalized) in data.items(): + for unique_together, normalized in data.values(): class M(models.Model): foo = models.IntegerField() bar = models.IntegerField() |