File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
modeltests/fixtures_model_package Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ def test_flush(self):
4040 # Test presence of fixture (flush called by TransactionTestCase)
4141 self .assertQuerysetEqual (
4242 Book .objects .all (), [
43- u 'Achieving self-awareness of Python programs'
43+ 'Achieving self-awareness of Python programs'
4444 ],
4545 lambda a : a .name
4646 )
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ def __unicode__(self):
101101 return self .string_pk
102102
103103 def get_absolute_url (self ):
104- return u '/dummy/%s/' % self .string_pk
104+ return '/dummy/%s/' % self .string_pk
105105
106106
107107class Color (models .Model ):
Original file line number Diff line number Diff line change @@ -486,7 +486,7 @@ def test_regexfield_6(self):
486486 Refs #.
487487 """
488488 f = RegexField ('^\w+$' )
489- self .assertEqual (u 'éèøçÎÎ你好' , f .clean (u 'éèøçÎÎ你好' ))
489+ self .assertEqual ('éèøçÎÎ你好' , f .clean ('éèøçÎÎ你好' ))
490490
491491 def test_change_regex_after_init (self ):
492492 f = RegexField ('^[a-z]+$' )
You can’t perform that action at this time.
0 commit comments