summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2012-08-18 17:47:21 +0200
committerAymeric Augustin <aymeric.augustin@m4x.org>2012-08-18 17:51:16 +0200
commitafc1bd7ab87268b33a8b44b3238f562cdaf2a72f (patch)
tree6b434993c1e4113f8a1c724f7e05a6e6e22873c0 /tests
parentde3ad8bb2d14ccf878121b96e6e0359dd8b1f9d5 (diff)
[py3] Made 212b9826bd Python 3-friendly
Diffstat (limited to 'tests')
-rw-r--r--tests/regressiontests/utils/text.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/regressiontests/utils/text.py b/tests/regressiontests/utils/text.py
index 9fa86d515c..ebf67952f9 100644
--- a/tests/regressiontests/utils/text.py
+++ b/tests/regressiontests/utils/text.py
@@ -116,8 +116,8 @@ class TestUtilsText(SimpleTestCase):
def test_slugify(self):
items = (
- (u'Hello, World!', 'hello-world'),
- (u'spam & eggs', 'spam-eggs'),
+ ('Hello, World!', 'hello-world'),
+ ('spam & eggs', 'spam-eggs'),
)
for value, output in items:
self.assertEqual(text.slugify(value), output)