mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-24 08:14:16 +03:00
Remove unicode strings
This commit is contained in:
parent
c9d4497d81
commit
97ebd68f68
|
@ -118,9 +118,9 @@ class TestViewNamesAndDescriptions(TestCase):
|
||||||
return self.s
|
return self.s
|
||||||
|
|
||||||
class MockView(APIView):
|
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):
|
def test_markdown(self):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user