      assert inspector.get_allowed_methods(callback) == ["GET"]
  
  
  @pytest.mark.skipif(not coreapi, reason='coreapi is not installed')
  class TestAutoSchemaAllowsFilters(object):
      class MockAPIView(APIView):
          filter_backends = [filters.OrderingFilter]
  
      def _test(self, method):
          view = self.MockAPIView()
 
</s> remove         class DummyView(object):
 </s> add         class DummyView: </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         assert field.run_validation(1) is 1
 </s> add         assert field.run_validation(1) == 1 </s> remove         assert output is 123
 </s> add         assert output == 123
class TestAutoSchemaAllowsFilters:
      assert inspector.get_allowed_methods(callback) == ["GET"]
  
  
  @pytest.mark.skipif(not coreapi, reason='coreapi is not installed')
class TestAutoSchemaAllowsFilters:
      class MockAPIView(APIView):
          filter_backends = [filters.OrderingFilter]
  
      def _test(self, method):
          view = self.MockAPIView()
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_schemas.py