diff --git a/rest_framework/tests/serializer.py b/rest_framework/tests/serializer.py index 6a7deb491..8f901a85e 100644 --- a/rest_framework/tests/serializer.py +++ b/rest_framework/tests/serializer.py @@ -1343,9 +1343,9 @@ class FieldLabelTest(TestCase): """ This is check that ctor supports both label and help_text. """ - self.assertEquals(u'Label', fields.Field(label='Label', help_text='Help').label) - self.assertEquals(u'Help', fields.CharField(label='Label', help_text='Help').help_text) - self.assertEquals(u'Label', relations.ManyHyperlinkedRelatedField(view_name='fake', label='Label', help_text='Help').label) + self.assertEquals('Label', fields.Field(label='Label', help_text='Help').label) + self.assertEquals('Help', fields.CharField(label='Label', help_text='Help').help_text) + self.assertEquals('Label', relations.ManyHyperlinkedRelatedField(view_name='fake', label='Label', help_text='Help').label) class AttributeMappingOnAutogeneratedFieldsTests(TestCase):