  import json
  from collections import namedtuple
  
  import pytest
  from django.conf.urls import include, url
  from django.core.exceptions import ImproperlyConfigured
  from django.db import models
  from django.test import TestCase, override_settings
  
  from rest_framework import permissions, serializers, viewsets
 
</s> remove from django.conf.urls import include, url
 </s> add from django.conf.urls import url </s> remove from django.conf.urls import include, url
 </s> add from django.conf.urls import url </s> remove from rest_framework.compat import RegexURLResolver
 </s> add from rest_framework.compat import RegexURLResolver, include
from django.conf.urls import url
  import json
  from collections import namedtuple
  
  import pytest
from django.conf.urls import url
  from django.core.exceptions import ImproperlyConfigured
  from django.db import models
  from django.test import TestCase, override_settings
  
  from rest_framework import permissions, serializers, viewsets
keep keep keep keep replace keep keep keep keep keep
 Fixed Django 2.0 compatibility due to `django.conf.urls.include` parameters change. (#4866) 
tests/test_routers.py