mirror of
https://github.com/django/django.git
synced 2025-10-26 07:06:08 +00:00
remove a bunch of unnescesarry iterkeys() calls
This commit is contained in:
@@ -204,7 +204,7 @@ class PasswordChangeFormTest(TestCase):
|
||||
def test_field_order(self):
|
||||
# Regression test - check the order of fields:
|
||||
user = User.objects.get(username='testclient')
|
||||
self.assertEqual(list(six.iterkeys(PasswordChangeForm(user, {}).fields)),
|
||||
self.assertEqual(list(PasswordChangeForm(user, {}).fields),
|
||||
['old_password', 'new_password1', 'new_password2'])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user