Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed a test that fails under Python 3.

  • Loading branch information...
commit 9a3708cec8cf76165afd0fd46d1267d7cae772ca 1 parent f026a51
@aaugustin aaugustin authored
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"])
Please sign in to comment.
Something went wrong with that request. Please try again.