(pool)
| 614 | return 1 |
| 615 | |
| 616 | async def test_fetchrow(pool): |
| 617 | i = random.randint(0, 20) |
| 618 | await asyncio.sleep(random.random() / 100) |
| 619 | r = await pool.fetchrow('SELECT {}::int'.format(i)) |
| 620 | self.assertEqual(r, (i,)) |
| 621 | return 1 |
| 622 | |
| 623 | async def test_fetchval(pool): |
| 624 | i = random.randint(0, 20) |