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

Method test_setoutputsize_basic

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

Source from the content-addressed store, hash-verified

781 con.close()
782
783 def test_setoutputsize_basic(self):
784 # Basic test is to make sure setoutputsize doesn't blow up
785 con = self._connect()
786 try:
787 cur = con.cursor()
788 cur.setoutputsize(1000)
789 cur.setoutputsize(2000, 0)
790 self._paraminsert(cur) # Make sure the cursor still works
791 finally:
792 con.close()
793
794 def test_setoutputsize(self):
795 # Real test for setoutputsize is driver dependent

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected