          assert self.renderer.get_description({}, status_code=401) == ''
          assert self.renderer.get_description({}, status_code=403) == ''
  
      def test_get_filter_form_returns_none_if_data_is_not_list_instance(self):
          class DummyView(object):
              get_queryset = None
              filter_backends = None
  
          result = self.renderer.get_filter_form(data='not list',
                                                 view=DummyView(), request={})
 
</s> remove         class MockPager(object):
 </s> add         class MockPager: </s> remove class BaseTokenAuthTests(object):
 </s> add class BaseTokenAuthTests: </s> remove         class DummyView(object):
 </s> add         class DummyView: </s> remove         assert serializer['amount'].value is 123
 </s> add         assert serializer['amount'].value == 123 </s> remove class TestAutoSchemaAllowsFilters(object):
 </s> add class TestAutoSchemaAllowsFilters:
        class DummyView:
          assert self.renderer.get_description({}, status_code=401) == ''
          assert self.renderer.get_description({}, status_code=403) == ''
  
      def test_get_filter_form_returns_none_if_data_is_not_list_instance(self):
        class DummyView:
              get_queryset = None
              filter_backends = None
  
          result = self.renderer.get_filter_form(data='not list',
                                                 view=DummyView(), request={})
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_renderers.py