[DB-SIG] DB API 2.0 Anal Compliance Unit Test for review

Dittmar, Daniel daniel.dittmar@sap.com
Fri, 14 Feb 2003 19:09:47 +0100


I'm having problems with the following test from test_description:

            self.failIfEqual(cur.description[0][1],self.driver.STRING,
                'cursor.description[x][1] must return column type. Got %r'
                    % cur.description[0][1]
                )

Aren't the driver's type objects like STRING supposed to compare equal to the second field of a description tuple?

Daniel

-- 
Daniel Dittmar
SAP DB, SAP Labs Berlin
daniel.dittmar@sap.com
http://www.sapdb.org/