MCPcopy Index your code
hub / github.com/PyMySQL/mysqlclient / test_setinputsizes

Method test_setinputsizes

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

Source from the content-addressed store, hash-verified

772 con.close()
773
774 def test_setinputsizes(self):
775 con = self._connect()
776 try:
777 cur = con.cursor()
778 cur.setinputsizes((25,))
779 self._paraminsert(cur) # Make sure cursor still works
780 finally:
781 con.close()
782
783 def test_setoutputsize_basic(self):
784 # Basic test is to make sure setoutputsize doesn't blow up

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected