  from django.db import models
  from django.db.models.functions import Concat, Upper
  from django.test import TestCase
  from django.test.utils import override_settings
  from django.utils.six.moves import reload_module
  
  from rest_framework import filters, generics, serializers
  from rest_framework.compat import coreschema
  from rest_framework.test import APIRequestFactory
  
 
</s> remove from django.utils import six
 </s> add  </s> remove from django.utils import six
 </s> add  </s> remove from __future__ import unicode_literals

 </s> add  </s> remove from __future__ import unicode_literals

 </s> add  </s> remove from __future__ import unicode_literals

 </s> add 
  from django.db import models
  from django.db.models.functions import Concat, Upper
  from django.test import TestCase
  from django.test.utils import override_settings

  
  from rest_framework import filters, generics, serializers
  from rest_framework.compat import coreschema
  from rest_framework.test import APIRequestFactory
  
keep keep keep keep replace 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> 
tests/test_filters.py