(self, connection)
| 622 | ) |
| 623 | |
| 624 | def test_fetchmany(self, connection): |
| 625 | users = self.tables.users |
| 626 | |
| 627 | connection.execute( |
| 628 | users.insert(), |
| 629 | [{"user_id": i, "user_name": "n%d" % i} for i in range(7, 15)], |
| 630 | ) |
| 631 | r = connection.execute(users.select()) |
| 632 | rows = [] |
| 633 | for row in r.fetchmany(size=2): |
| 634 | rows.append(row) |
| 635 | eq_(len(rows), 2) |
| 636 | |
| 637 | @testing.requires.arraysize |
| 638 | def test_fetchmany_arraysize_default(self, connection): |