

@testing.requires.bound_limit_offset
def test_bound_limit(self):
    table = self.tables.some_table
    self._assert_result(select([table]).order_by(table.c.id).limit(bindparam('l')), [(1, 1, 2), (2, 2, 3)], params={
        'l': 2,
    })

dataset/ETHPy150Open zzzeek/sqlalchemy/lib/sqlalchemy/testing/suite/test_select.py LimitOffsetTest.test_bound_limit/original