MCPcopy
hub / github.com/psycopg/psycopg / test_execute

Method test_execute

tests/dbapi20.py:384–390  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

382 # self.assertRaises(self.driver.Error,con.close)
383
384 def test_execute(self):
385 con = self._connect()
386 try:
387 cur = con.cursor()
388 self._paraminsert(cur)
389 finally:
390 con.close()
391
392 def _paraminsert(self,cur):
393 self.executeDDL1(cur)

Callers

nothing calls this directly

Calls 4

_connectMethod · 0.95
_paraminsertMethod · 0.95
cursorMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected