aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_description.py
diff options
context:
space:
mode:
authorJosé Padilla2014-09-05 16:01:17 -0700
committerJosé Padilla2014-09-05 16:01:17 -0700
commit97ebd68f681961fb7e3f785e3cb84a69b3dc56aa (patch)
treec64605e2ea2d9138f27a604d0cacb657a527bb37 /tests/test_description.py
parentc9d4497d816023e30a7adfc9f2b74eea966ff17c (diff)
downloaddjango-rest-framework-97ebd68f681961fb7e3f785e3cb84a69b3dc56aa.tar.bz2
Remove unicode strings
Diffstat (limited to 'tests/test_description.py')
-rw-r--r--tests/test_description.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_description.py b/tests/test_description.py
index 1208ce54..0675d209 100644
--- a/tests/test_description.py
+++ b/tests/test_description.py
@@ -118,9 +118,9 @@ class TestViewNamesAndDescriptions(TestCase):
return self.s
class MockView(APIView):
- __doc__ = MockLazyStr(u"a gettext string")
+ __doc__ = MockLazyStr("a gettext string")
- self.assertEqual(MockView().get_view_description(), u'a gettext string')
+ self.assertEqual(MockView().get_view_description(), 'a gettext string')
def test_markdown(self):
"""