Skip to content
Browse files

Fixed a test that fails under Python 3.

  • Loading branch information...
1 parent f026a51 commit 9a3708cec8cf76165afd0fd46d1267d7cae772ca @aaugustin aaugustin committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/model_forms_regress/tests.py
View
2 tests/model_forms_regress/tests.py
@@ -536,4 +536,4 @@ def test_modelform_factory_without_fields(self):
def test_modelform_factory_with_all_fields(self):
form = modelform_factory(Person, fields="__all__")
- self.assertEqual(form.base_fields.keys(), ["name"])
+ self.assertEqual(list(form.base_fields), ["name"])

0 comments on commit 9a3708c

Please sign in to comment.
Something went wrong with that request. Please try again.