  from django.conf.urls import patterns
  
  from .views import MockView
  
  urlpatterns = patterns(
      '',
      (r'^$', MockView.as_view()),
  )
 
</s> remove from django.conf.urls import patterns
 </s> add  </s> remove urlpatterns = patterns(
    '',
 </s> add urlpatterns = [ </s> remove )
 </s> add ] </s> remove )
 </s> add ] </s> remove )
 </s> add ]
urlpatterns = [
  from django.conf.urls import patterns
  
  from .views import MockView
  
urlpatterns = [
urlpatterns = [
      (r'^$', MockView.as_view()),
  )
keep keep keep keep replace replace keep keep
 Remove `django.conf.urls.pattern` as it'll be removed in Django 2.0 
tests/browsable_api/no_auth_urls.py