  from __future__ import unicode_literals
  from django.conf.urls import patterns, url, include
  from django.contrib.auth.models import User
  from django.http import HttpResponse
  from django.test import TestCase
  from django.utils import six
  from rest_framework import HTTP_HEADER_ENCODING
 
</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, 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
from django.conf.urls import url, include
  from __future__ import unicode_literals
from django.conf.urls import url, include
  from django.contrib.auth.models import User
  from django.http import HttpResponse
  from django.test import TestCase
  from django.utils import six
  from rest_framework import HTTP_HEADER_ENCODING
keep replace keep keep keep keep keep
 Remove `django.conf.urls.pattern` as it'll be removed in Django 2.0 
tests/test_authentication.py