  
  from django.template.engine import Engine
  from django.test.utils import override_settings
  from django.utils._os import upath
  from django.utils.encoding import python_2_unicode_compatible
  from django.utils.safestring import mark_safe
  
  ROOT = os.path.dirname(os.path.abspath(upath(__file__)))
  TEMPLATE_DIR = os.path.join(ROOT, 'templates')
  
 
</s> remove from django.utils.encoding import force_text, python_2_unicode_compatible
 </s> add from django.utils.encoding import force_text </s> remove from django.utils.encoding import python_2_unicode_compatible
 </s> add  </s> remove from django.utils.encoding import python_2_unicode_compatible
 </s> add  </s> remove from django.utils.encoding import force_text, python_2_unicode_compatible
 </s> add from django.utils.encoding import force_text </s> remove from django.utils.encoding import python_2_unicode_compatible
 </s> add 
  
  from django.template.engine import Engine
  from django.test.utils import override_settings
  from django.utils._os import upath

  from django.utils.safestring import mark_safe
  
  ROOT = os.path.dirname(os.path.abspath(upath(__file__)))
  TEMPLATE_DIR = os.path.join(ROOT, 'templates')
  
keep keep keep keep replace keep keep keep keep keep
 Refs #23919 -- Removed python_2_unicode_compatible decorator usage 
tests/template_tests/utils.py