MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / test_execute_exceptions_1

Method test_execute_exceptions_1

tests/test_execute.py:66–70  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

64 ''')
65
66 async def test_execute_exceptions_1(self):
67 with self.assertRaisesRegex(asyncpg.PostgresError,
68 'relation "__dne__" does not exist'):
69
70 await self.con.execute('select * from __dne__')
71
72 async def test_execute_script_interrupted_close(self):
73 fut = self.loop.create_task(

Callers

nothing calls this directly

Calls 1

executeMethod · 0.45

Tested by

no test coverage detected