MCPcopy
hub / github.com/psycopg/psycopg / test_setinputsizes

Method test_setinputsizes

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

Source from the content-addressed store, hash-verified

778 con.close()
779
780 def test_setinputsizes(self):
781 con = self._connect()
782 try:
783 cur = con.cursor()
784 cur.setinputsizes( (25,) )
785 self._paraminsert(cur) # Make sure cursor still works
786 finally:
787 con.close()
788
789 def test_setoutputsize_basic(self):
790 # Basic test is to make sure setoutputsize doesn't blow up

Callers

nothing calls this directly

Calls 5

_connectMethod · 0.95
_paraminsertMethod · 0.95
setinputsizesMethod · 0.80
cursorMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected