(self)
| 595 | self.fail('InvalidSQLStatementNameError not raised') |
| 596 | |
| 597 | async def test_prepare_does_not_use_cache(self): |
| 598 | cache = self.con._stmt_cache |
| 599 | |
| 600 | # prepare with disabled cache |
| 601 | await self.con.prepare('select 1') |
| 602 | self.assertEqual(len(cache), 0) |
| 603 | |
| 604 | async def test_prepare_explicitly_named(self): |
| 605 | ps = await self.con.prepare('select 1', name='foobar') |