diff options
| author | Markus Törnqvist | 2013-05-18 18:27:36 +0300 |
|---|---|---|
| committer | Markus Törnqvist | 2013-05-18 18:27:36 +0300 |
| commit | 1fd66fe8c6c97acbbfa5ca4725f3a770be4250fa (patch) | |
| tree | b87b9f07e06b4bde9446a2ccd21ce8bf3ae7e442 /rest_framework/tests/serializer.py | |
| parent | 48c1b2233bbfb242b68d495f51f0f177b40aa7c4 (diff) | |
| download | django-rest-framework-1fd66fe8c6c97acbbfa5ca4725f3a770be4250fa.tar.bz2 | |
Drop u'', it was used inconsistently and breaks for nothing with Python 3.2
Diffstat (limited to 'rest_framework/tests/serializer.py')
| -rw-r--r-- | rest_framework/tests/serializer.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rest_framework/tests/serializer.py b/rest_framework/tests/serializer.py index 5685c061..6a7deb49 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): """ |
