mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-27 03:54:01 +03:00
Drop u'', it was used inconsistently and breaks for nothing with Python 3.2
This commit is contained in:
parent
48c1b2233b
commit
1fd66fe8c6
|
@ -1336,8 +1336,8 @@ class FieldLabelTest(TestCase):
|
||||||
serializer = self.serializer_class()
|
serializer = self.serializer_class()
|
||||||
text_field = serializer.fields['text']
|
text_field = serializer.fields['text']
|
||||||
|
|
||||||
self.assertEquals(u'Text comes here', text_field.label)
|
self.assertEquals('Text comes here', text_field.label)
|
||||||
self.assertEquals(u'Text description.', text_field.help_text)
|
self.assertEquals('Text description.', text_field.help_text)
|
||||||
|
|
||||||
def test_field_ctor(self):
|
def test_field_ctor(self):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user