              def __str__(self):
                  return self.s
  
          class MockView(APIView):
              __doc__ = MockLazyStr(u"a gettext string")
  
 
</s> remove             __doc__ = MockLazyStr("a gettext string")
 </s> add             __doc__ = MockLazyStr(u"a gettext string") </s> remove         self.assertEqual(MockView().get_view_description(), 'a gettext string')
 </s> add         self.assertEqual(MockView().get_view_description(), 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 
            def __unicode__(self):
                return self.s
              def __str__(self):
                  return self.s
            def __unicode__(self):
                return self.s
  
          class MockView(APIView):
              __doc__ = MockLazyStr(u"a gettext string")
  
keep add 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