diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2010-12-19 02:00:34 +0000 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2010-12-19 02:00:34 +0000 |
| commit | fbc2f0a0a6ce9218cc0b7feba1a9d6c7205de19f (patch) | |
| tree | 2bf5521e180c24a27136b105622cf31387a0f3b1 | |
| parent | a360240c56a47752f65146777c0f1d9055a86bc8 (diff) | |
Fixed a Python 2.5 syntax error.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14983 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | tests/regressiontests/forms/localflavor/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/forms/localflavor/utils.py b/tests/regressiontests/forms/localflavor/utils.py index 790529c8b5..6a47538da0 100644 --- a/tests/regressiontests/forms/localflavor/utils.py +++ b/tests/regressiontests/forms/localflavor/utils.py @@ -28,7 +28,7 @@ class LocalFlavorTestCase(TestCase): 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) |
