  from __future__ import unicode_literals
  from django.core.exceptions import PermissionDenied
  from django.conf.urls import patterns, url
  from django.http import Http404
  from django.test import TestCase
  from django.template import TemplateDoesNotExist, Template
  from django.utils import six
  from rest_framework import status
 
</s> remove from django.conf.urls import patterns, url, include
 </s> add from django.conf.urls import url, include </s> remove from django.conf.urls import patterns, url, include
 </s> add from django.conf.urls import url, include </s> remove from django.conf.urls import patterns, url
 </s> add from django.conf.urls import url </s> remove from django.conf.urls import patterns, url
 </s> add from django.conf.urls import url </s> remove from django.conf.urls import patterns, url
 </s> add from django.conf.urls import url
from django.conf.urls import url
  from __future__ import unicode_literals
  from django.core.exceptions import PermissionDenied
from django.conf.urls import url
  from django.http import Http404
  from django.test import TestCase
  from django.template import TemplateDoesNotExist, Template
  from django.utils import six
  from rest_framework import status
keep keep replace keep keep keep keep keep
 Remove `django.conf.urls.pattern` as it'll be removed in Django 2.0 
tests/test_htmlrenderer.py