From 1fd66fe8c6c97acbbfa5ca4725f3a770be4250fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20T=C3=B6rnqvist?= Date: Sat, 18 May 2013 18:27:36 +0300 Subject: [PATCH] Drop u'', it was used inconsistently and breaks for nothing with Python 3.2 --- rest_framework/tests/serializer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rest_framework/tests/serializer.py b/rest_framework/tests/serializer.py index 5685c0615..6a7deb491 100644 --- a/rest_framework/tests/serializer.py +++ b/rest_framework/tests/serializer.py @@ -1336,8 +1336,8 @@ class FieldLabelTest(TestCase): serializer = self.serializer_class() text_field = serializer.fields['text'] - self.assertEquals(u'Text comes here', text_field.label) - self.assertEquals(u'Text description.', text_field.help_text) + self.assertEquals('Text comes here', text_field.label) + self.assertEquals('Text description.', text_field.help_text) def test_field_ctor(self): """