Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed a test that fails under Python 3.

  • Loading branch information...
commit 9a3708cec8cf76165afd0fd46d1267d7cae772ca 1 parent f026a51
Aymeric Augustin authored May 09, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  tests/model_forms_regress/tests.py
2  tests/model_forms_regress/tests.py
@@ -536,4 +536,4 @@ def test_modelform_factory_without_fields(self):
536 536
 
537 537
     def test_modelform_factory_with_all_fields(self):
538 538
         form = modelform_factory(Person, fields="__all__")
539  
-        self.assertEqual(form.base_fields.keys(), ["name"])
  539
+        self.assertEqual(list(form.base_fields), ["name"])

0 notes on commit 9a3708c

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