Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed unneeded u prefixes

  • Loading branch information...
commit f08fa5b5556e6a3e81fdd644f5b7bcc9e795821a 1 parent 41eb70f
@claudep claudep authored
View
2  tests/modeltests/fixtures_model_package/tests.py
@@ -40,7 +40,7 @@ def test_flush(self):
# Test presence of fixture (flush called by TransactionTestCase)
self.assertQuerysetEqual(
Book.objects.all(), [
- u'Achieving self-awareness of Python programs'
+ 'Achieving self-awareness of Python programs'
],
lambda a: a.name
)
View
2  tests/regressiontests/admin_views/models.py
@@ -101,7 +101,7 @@ def __unicode__(self):
return self.string_pk
def get_absolute_url(self):
- return u'/dummy/%s/' % self.string_pk
+ return '/dummy/%s/' % self.string_pk
class Color(models.Model):
View
2  tests/regressiontests/forms/tests/fields.py
@@ -486,7 +486,7 @@ def test_regexfield_6(self):
Refs #.
"""
f = RegexField('^\w+$')
- self.assertEqual(u'éèøçÎÎ你好', f.clean(u'éèøçÎÎ你好'))
+ self.assertEqual('éèøçÎÎ你好', f.clean('éèøçÎÎ你好'))
def test_change_regex_after_init(self):
f = RegexField('^[a-z]+$')
Please sign in to comment.
Something went wrong with that request. Please try again.