From 99848b0321a07d7f05f2333f635756f45e058088 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20T=C3=B6rnqvist?= Date: Sat, 18 May 2013 18:38:37 +0300 Subject: [PATCH] Drop another case of u'', this time from #530 code --- rest_framework/tests/serializer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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):