def page(self, number):
        number = self.validate_number(number)
        bottom = (number - 1) * self.per_page
        top = bottom + self.per_page
        page_items = self.object_list[bottom:top]
        # check moved from validate_number
        if not page_items:
            if number == 1 and self.allow_empty_first_page:
                pass
            else:
                raise EmptyPage('That page contains no results')
        return InfinitePage(page_items, number, self)
Should return nodes when the given argument is 'nodes'
dataset/ETHPy150Open amarandon/smeuhsocial/apps/pagination/paginator.py/InfinitePaginator.page--crossover with--dataset/ETHPy150Open edelight/kitchen/kitchen/backends/tests.py/TestData.test_data_loader