  import warnings
  from collections import OrderedDict
  from weakref import WeakKeyDictionary
  
  from django.db import models
  from django.utils.encoding import force_text, smart_text
  from django.utils.translation import ugettext_lazy as _
  
 
</s> remove from django.utils.six.moves.urllib import parse as urlparse
 </s> add  </s> remove from __future__ import unicode_literals

 </s> add  </s> remove from django.utils import six
 </s> add  </s> remove from django.utils import six
 </s> add  </s> remove from django.utils import six, timezone
 </s> add from django.utils import timezone
from urllib import parse
  import warnings
  from collections import OrderedDict
from urllib import parse
  from weakref import WeakKeyDictionary
  
  from django.db import models
  from django.utils.encoding import force_text, smart_text
  from django.utils.translation import ugettext_lazy as _
  
keep add keep keep keep keep keep keep
 Dropped Python 2 compatibility. (#6615)

Thanks to Jon Dufresne (@jdufresne) for review.

Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
Co-authored-by: Rizwan Mansuri <Rizwan@webbyfox.com> 
rest_framework/schemas/inspectors.py