[Zope-DB] Re: DCOracle2 TestSuite failures : more detail

Chris Withers chrisw at simplistix.co.uk
Fri Oct 24 05:56:19 EDT 2003


Having run through them all, the following tests cause segfaults:

dbapi20.py test_fetchone
dbapi20.py test_fetchmany
dbapi20.py test_fetchall

And there are also a couple of failures:

======================================================================
FAIL: test_close (__main__.test_DCOracle2)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "dbapi20.py", line 237, in test_close
     self.assertRaises(self.driver.Error,cur.execute,self.ddl1)
   File "/usr/local/lib/python2.1/unittest.py", line 266, in failUnlessRaises
     raise self.failureException, excName
AssertionError: Error
======================================================================
FAIL: test_rowcount (__main__.test_DCOracle2)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "dbapi20.py", line 201, in test_rowcount
     'cursor.rowcount should be -1 after executing no-result '
   File "/usr/local/lib/python2.1/unittest.py", line 273, in failUnlessEqual
     raise self.failureException, (msg or '%s != %s' % (first, second))
AssertionError: cursor.rowcount should be -1 after executing no-result statements
----------------------------------------------------------------------

Any idea what could be causing these five problems?

Chris




More information about the Zope-DB mailing list