diff options
| author | Simon Charette <charette.s@gmail.com> | 2013-09-26 00:03:57 -0400 |
|---|---|---|
| committer | Simon Charette <charette.s@gmail.com> | 2013-09-26 00:03:57 -0400 |
| commit | 209de62d220baa3b4c7db582349a7a3765901a68 (patch) | |
| tree | ca8107f94931c890f6261022ee5db3dab3f30f06 | |
| parent | 6c06adad1dc45631c1c220d7f8fb531a9cf3ed55 (diff) | |
Fix Python 3.2 compatiblity by removing unicode literals.
| -rw-r--r-- | tests/defaultfilters/tests.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/defaultfilters/tests.py b/tests/defaultfilters/tests.py index b1e0f5df96..b752299fcd 100644 --- a/tests/defaultfilters/tests.py +++ b/tests/defaultfilters/tests.py @@ -326,17 +326,17 @@ class DefaultFiltersTests(TestCase): # Check urlize correctly include quotation marks in links - #20364 self.assertEqual(urlize('before "hi@example.com" afterwards'), - u'before "<a href="mailto:hi@example.com">hi@example.com</a>" afterwards') + 'before "<a href="mailto:hi@example.com">hi@example.com</a>" afterwards') self.assertEqual(urlize('before hi@example.com" afterwards'), - u'before <a href="mailto:hi@example.com">hi@example.com</a>" afterwards') + 'before <a href="mailto:hi@example.com">hi@example.com</a>" afterwards') self.assertEqual(urlize('before "hi@example.com afterwards'), - u'before "<a href="mailto:hi@example.com">hi@example.com</a> afterwards') + 'before "<a href="mailto:hi@example.com">hi@example.com</a> afterwards') self.assertEqual(urlize('before \'hi@example.com\' afterwards'), - u'before \'<a href="mailto:hi@example.com">hi@example.com</a>\' afterwards') + 'before \'<a href="mailto:hi@example.com">hi@example.com</a>\' afterwards') self.assertEqual(urlize('before hi@example.com\' afterwards'), - u'before <a href="mailto:hi@example.com">hi@example.com</a>\' afterwards') + 'before <a href="mailto:hi@example.com">hi@example.com</a>\' afterwards') self.assertEqual(urlize('before \'hi@example.com afterwards'), - u'before \'<a href="mailto:hi@example.com">hi@example.com</a> afterwards') + 'before \'<a href="mailto:hi@example.com">hi@example.com</a> afterwards') # Check urlize copes with commas following URLs in quotes - see #20364 self.assertEqual(urlize('Email us at "hi@example.com", or phone us at +xx.yy'), |
