(self)
| 159 | self.assertIn('"SELECT generate', r) |
| 160 | |
| 161 | async def test_cursor_03(self): |
| 162 | st = await self.con.prepare('SELECT generate_series(0, 20)') |
| 163 | async with self.con.transaction(): |
| 164 | with self.assertRaisesRegex(asyncpg.InterfaceError, |
| 165 | 'prefetch argument can only'): |
| 166 | await st.cursor(prefetch=10) |
| 167 | |
| 168 | async def test_cursor_04(self): |
| 169 | async with self.con.transaction(): |
nothing calls this directly
no test coverage detected