[DB-SIG] DB API 2.0 Anal Compliance Unit Test for review
M.-A. Lemburg
mal@lemburg.com
Fri, 14 Feb 2003 21:20:10 +0100
M.-A. Lemburg wrote:
> Dittmar, Daniel wrote:
>
>> 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?
>
>
> Yes... [1] references the second element in the tuple.
Oh, now I see: you meant the .failIfEqual() -- sorry.
--
Marc-Andre Lemburg
eGenix.com
Professional Python Software directly from the Source (#1, Feb 14 2003)
>>> Python/Zope Products & Consulting ... http://www.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
________________________________________________________________________
Python UK 2003, Oxford: 46 days left
EuroPython 2003, Charleroi, Belgium: 130 days left