  
          class MockView(APIView):
              __doc__ = MockLazyStr("a gettext string")
  
          self.assertEqual(MockView().get_view_description(), 'a gettext string')
  
      def test_markdown(self):
          """
          Ensure markdown to HTML works as expected.
          """
 
</s> remove             __doc__ = MockLazyStr("a gettext string")
 </s> add             __doc__ = MockLazyStr(u"a gettext string") </s> remove         @python_2_unicode_compatible
 </s> add  </s> remove from django.utils.encoding import python_2_unicode_compatible
 </s> add 
        self.assertEqual(MockView().get_view_description(), u'a gettext string')
  
          class MockView(APIView):
              __doc__ = MockLazyStr("a gettext string")
  
        self.assertEqual(MockView().get_view_description(), u'a gettext string')
  
      def test_markdown(self):
          """
          Ensure markdown to HTML works as expected.
          """
keep keep keep keep replace keep keep keep keep keep
 remove dep on python_2_unicode_compatible

python_2_unicode_compatible is not available in all Django versions 
rest_framework/tests/test_description.py