          response = view(request).render()
          assert response.status_code == status.HTTP_200_OK
  
  
  class InclusiveFilterBackend(object):
      def filter_queryset(self, request, queryset, view):
          return queryset.filter(text='foo')
  
  
  class ExclusiveFilterBackend(object):
 
</s> remove class ExclusiveFilterBackend(object):
 </s> add class ExclusiveFilterBackend: </s> remove         request = factory.patch('/{0}'.format(obj.pk), {'number_value': 101}, format='json')
 </s> add         request = factory.patch('/{}'.format(obj.pk), {'number_value': 101}, format='json') </s> remove         request = factory.patch('/{0}'.format(obj.pk), {'number_value': 98}, format='json')
 </s> add         request = factory.patch('/{}'.format(obj.pk), {'number_value': 98}, format='json') </s> remove         class DummyView(object):
 </s> add         class DummyView: </s> remove class BaseTokenAuthTests(object):
 </s> add class BaseTokenAuthTests:
class InclusiveFilterBackend:
          response = view(request).render()
          assert response.status_code == status.HTTP_200_OK
  
  
class InclusiveFilterBackend:
      def filter_queryset(self, request, queryset, view):
          return queryset.filter(text='foo')
  
  
  class ExclusiveFilterBackend(object):
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_generics.py