      def test_included_urls(self):
          nested_patterns = patterns(
              '',
              url(r'^path$', dummy_view)
          )
          urlpatterns = patterns(
              '',
              url(r'^test/', include(nested_patterns), {'foo': 'bar'}),
          )
          test_paths = [
              URLTestPath('/test/path', (), {'foo': 'bar', }),
              URLTestPath('/test/path.api', (), {'foo': 'bar', 'format': 'api'}),
 
</s> remove         )
 </s> add         ] </s> remove         )
 </s> add         ] </s> remove         urlpatterns = patterns(
            '',
 </s> add         urlpatterns = [ </s> remove         nested_patterns = patterns(
            '',
 </s> add         nested_patterns = [ </s> remove         )
 </s> add         ]
        ]
        urlpatterns = [
      def test_included_urls(self):
          nested_patterns = patterns(
              '',
              url(r'^path$', dummy_view)
        ]
        urlpatterns = [
        ]
        urlpatterns = [
        ]
        urlpatterns = [
              url(r'^test/', include(nested_patterns), {'foo': 'bar'}),
          )
          test_paths = [
              URLTestPath('/test/path', (), {'foo': 'bar', }),
              URLTestPath('/test/path.api', (), {'foo': 'bar', 'format': 'api'}),
keep keep keep keep replace replace replace keep keep keep keep keep
 Remove `django.conf.urls.pattern` as it'll be removed in Django 2.0 
tests/test_urlpatterns.py