'test binding in a string after setting input sizes to a number'

def testBindStringAfterNumber(self):

    self.cursor.setinputsizes(value=cx_Oracle.NUMBER)
    self.cursor.execute(u'\n                                                                select    *    from    TestStrings\n                                                                where    StringCol    =    :value', value=u'String    6')
    self.failUnlessEqual(self.cursor.fetchall(), [self.dataByKey[6]])
