diff options
| author | Claude Paroz <claude@2xlibre.net> | 2012-03-31 08:24:29 +0000 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2012-03-31 08:24:29 +0000 |
| commit | 23d34597615d8209de72bd819539a696ba0d1e7f (patch) | |
| tree | 6d77500c4a347ae495577ecf9e313c349c5df4e9 /tests | |
| parent | 27322df99527ea2f0a3388261e736746430dcf98 (diff) | |
Fixed #17965 -- Definitely dropped support for Python 2.5. Thanks jonash for the initial patch and Aymeric Augustin for the review.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17834 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/regressiontests/forms/tests/widgets.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/regressiontests/forms/tests/widgets.py b/tests/regressiontests/forms/tests/widgets.py index ce15b8b708..2499b7a350 100644 --- a/tests/regressiontests/forms/tests/widgets.py +++ b/tests/regressiontests/forms/tests/widgets.py @@ -25,8 +25,6 @@ class FormsWidgetTestCase(TestCase): self.assertHTMLEqual(w.render('email', 'some "quoted" & ampersanded value'), u'<input type="text" name="email" value="some "quoted" & ampersanded value" />') self.assertHTMLEqual(w.render('email', 'test@example.com', attrs={'class': 'fun'}), u'<input type="text" name="email" value="test@example.com" class="fun" />') - # Note that doctest in Python 2.4 (and maybe 2.5?) doesn't support non-ascii - # characters in output, so we're displaying the repr() here. self.assertHTMLEqual(w.render('email', 'ŠĐĆŽćžšđ', attrs={'class': 'fun'}), u'<input type="text" name="email" value="\u0160\u0110\u0106\u017d\u0107\u017e\u0161\u0111" class="fun" />') # You can also pass 'attrs' to the constructor: |
