(pool)
| 553 | return 1 |
| 554 | |
| 555 | async def test_fetchrow(pool): |
| 556 | i = random.randint(0, 20) |
| 557 | await asyncio.sleep(random.random() / 100) |
| 558 | r = await pool.fetchrow('SELECT {}::int'.format(i)) |
| 559 | self.assertEqual(r, (i,)) |
| 560 | return 1 |
| 561 | |
| 562 | async def test_fetchval(pool): |
| 563 | i = random.randint(0, 20) |