'test that fetching a floating point number returns such in Python'

def testReturnAsFloat(self):

    self.cursor.execute('select    1.25    from    dual')
    (result,) = self.cursor.fetchone()
    self.failUnlessEqual(result, 1.25)
