  # -*- coding: utf-8 -*-
  from __future__ import unicode_literals
  
  from django.conf.urls import url
  from django.core.exceptions import ImproperlyConfigured
  from django.test import TestCase, override_settings
  from django.utils import six
  
  import rest_framework.utils.model_meta
  from rest_framework.compat import _resolve_model
 
</s> remove from django.utils import six
 </s> add  </s> remove import rest_framework.utils.model_meta
from rest_framework.compat import _resolve_model
 </s> add  </s> remove import inspect

 </s> add  </s> remove from django.core.exceptions import ImproperlyConfigured
from django.db import models
 </s> add  </s> remove from django.apps import apps
 </s> add 
  # -*- coding: utf-8 -*-
  from __future__ import unicode_literals
  
  from django.conf.urls import url

  from django.test import TestCase, override_settings
  from django.utils import six
  
  import rest_framework.utils.model_meta
  from rest_framework.compat import _resolve_model
keep keep keep keep replace keep keep keep keep keep
 Remove unused compat._resolve_model() (#5733)

Last use removed in c674687782ef96a3bb8466b412e99debd3d04f00. 
tests/test_utils.py