  
          class ExamplePagination(pagination.CursorPagination):
              page_size = 5
              ordering = 'created'
  
          self.pagination = ExamplePagination()
          self.queryset = MockQuerySet([
              MockObject(idx) for idx in [
                  1, 1, 1, 1, 1,
 
</s> remove         return [
 </s> add         fields = [
            page_size_query_param = 'page_size'
            max_page_size = 20
  
          class ExamplePagination(pagination.CursorPagination):
              page_size = 5
            page_size_query_param = 'page_size'
            max_page_size = 20
              ordering = 'created'
  
          self.pagination = ExamplePagination()
          self.queryset = MockQuerySet([
              MockObject(idx) for idx in [
                  1, 1, 1, 1, 1,
keep keep add keep keep keep keep keep keep
 Add support for page_size parameter in CursorPaginator class 
tests/test_pagination.py