(self)
| 148 | self.assertIn('"SELECT generate', r) |
| 149 | |
| 150 | async def test_cursor_03(self): |
| 151 | st = await self.con.prepare('SELECT generate_series(0, 20)') |
| 152 | async with self.con.transaction(): |
| 153 | with self.assertRaisesRegex(asyncpg.InterfaceError, |
| 154 | 'prefetch argument can only'): |
| 155 | await st.cursor(prefetch=10) |
| 156 | |
| 157 | async def test_cursor_04(self): |
| 158 | async with self.con.transaction(): |
nothing calls this directly
no test coverage detected