      '',
      url(r'^view/$', view),
      url(r'^session-view/$', session_view),
      url(r'^redirect-view/$', redirect_view),
  )
  
  
  class TestAPITestClient(TestCase):
      urls = 'tests.test_testing'
  
 
</s> remove urlpatterns = patterns(
    '',
 </s> add urlpatterns = [ </s> remove )
 </s> add ] </s> remove )
 </s> add ] </s> remove )
 </s> add ] </s> remove urlpatterns = patterns(
    '',
 </s> add urlpatterns = [
]
      '',
      url(r'^view/$', view),
      url(r'^session-view/$', session_view),
      url(r'^redirect-view/$', redirect_view),
]
  
  
  class TestAPITestClient(TestCase):
      urls = 'tests.test_testing'
  
keep keep keep keep replace keep keep keep keep keep
 Remove `django.conf.urls.pattern` as it'll be removed in Django 2.0 
tests/test_testing.py