          ]
          self._resolve_urlpatterns(urlpatterns, test_paths)
  
      def test_included_urls(self):
          nested_patterns = patterns(
              '',
              url(r'^path$', dummy_view)
          )
          urlpatterns = patterns(
              '',
              url(r'^test/', include(nested_patterns), {'foo': 'bar'}),
 
</s> remove         )
        urlpatterns = patterns(
            '',
 </s> add         ]
        urlpatterns = [ </s> remove         urlpatterns = patterns(
            '',
 </s> add         urlpatterns = [ </s> remove         )
 </s> add         ] </s> remove         )
 </s> add         ] </s> remove )
 </s> add ]
        nested_patterns = [
          ]
          self._resolve_urlpatterns(urlpatterns, test_paths)
  
      def test_included_urls(self):
        nested_patterns = [
        nested_patterns = [
              url(r'^path$', dummy_view)
          )
          urlpatterns = patterns(
              '',
              url(r'^test/', include(nested_patterns), {'foo': 'bar'}),
keep keep keep keep 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