Author: Alex
Date: 2010-12-18 20:00:34 -0600 (Sat, 18 Dec 2010)
New Revision: 14983

Modified:
   django/trunk/tests/regressiontests/forms/localflavor/utils.py
Log:
Fixed a Python 2.5 syntax error.

Modified: django/trunk/tests/regressiontests/forms/localflavor/utils.py
===================================================================
--- django/trunk/tests/regressiontests/forms/localflavor/utils.py       
2010-12-18 23:10:29 UTC (rev 14982)
+++ django/trunk/tests/regressiontests/forms/localflavor/utils.py       
2010-12-19 02:00:34 UTC (rev 14983)
@@ -28,7 +28,7 @@
             emptyvalue: the expected clean output for inputs in EMPTY_VALUES
         """
         required = fieldclass(*field_args, **field_kwargs)
-        optional = fieldclass(*field_args, required=False, **field_kwargs)
+        optional = fieldclass(*field_args, **dict(field_kwargs, 
required=False))
         # test valid inputs
         for input, output in valid.items():
             self.assertEqual(required.clean(input), output)

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to