'test that setinputsizes() returns a long variable'

def testBindLongStringAfterSettingSize(self):

    var = self.cursor.setinputsizes(test=90000)['test']
    inString = (u'1234567890' * 9000)
    var.setvalue(0, inString)
    outString = var.getvalue()
    self.failUnlessEqual(inString, outString, ('output    does    not    match:    in    was    %d,    out    was    %d' % (len(inString), len(outString))))
