From afc1bd7ab87268b33a8b44b3238f562cdaf2a72f Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sat, 18 Aug 2012 17:47:21 +0200 Subject: [py3] Made 212b9826bd Python 3-friendly --- tests/regressiontests/utils/text.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/regressiontests/utils') 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) -- cgit v1.3