  # -- coding: utf-8 --
  
  from __future__ import unicode_literals
  from django.test import TestCase
  from django.utils.encoding import python_2_unicode_compatible
  from rest_framework.compat import apply_markdown, smart_text
  from rest_framework.views import APIView
  from rest_framework.tests.description import ViewWithNonASCIICharactersInDocstring
  from rest_framework.tests.description import UTF8_TEST_DOCSTRING
  
 
</s> remove         @python_2_unicode_compatible
 </s> add  </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             __doc__ = MockLazyStr("a gettext string")
 </s> add             __doc__ = MockLazyStr(u"a gettext string")
  # -- coding: utf-8 --
  
  from __future__ import unicode_literals
  from django.test import TestCase

  from rest_framework.compat import apply_markdown, smart_text
  from rest_framework.views import APIView
  from rest_framework.tests.description import ViewWithNonASCIICharactersInDocstring
  from rest_framework.tests.description import UTF8_TEST_DOCSTRING
  
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