From: Gerhard <ger...@gm...> - 2002-02-19 09:31:04
|
Le 18/02/02 ? 12:03, Oliver Vecernik écrivit: > Meanwhile I installed the driver and ran the tests. > > ...........................EF...................... > ====================================================================== > ERROR: CheckWeakReference1 (__main__.PgSQLTestCases) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "test/PgSQLTestCases.py", line 333, in CheckWeakReference1 > self.assertEquals(len(self.cnx.cursors.data.keys()), 0, > AttributeError: data > ====================================================================== > FAIL: CheckWeakReference2 (__main__.PgSQLTestCases) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "test/PgSQLTestCases.py", line 338, in CheckWeakReference2 > self.failUnlessRaises(PgSQL.InterfaceError, self.cur.close) > File "/var/tmp/python-root//usr/lib/python2.1/unittest.py", line 266, > in failUnlessRaises > raise self.failureException, excName > AssertionError: InterfaceError > ---------------------------------------------------------------------- > Ran 51 tests in 2.419s > > FAILED (failures=1, errors=1) > > > What does that mean? The 'what' is not difficult: it checks wether there really aren't any cursors left for the test connection. As for the 'why', I currently have no idea. You haven't changed anything in the PgSQLTestCases.py file except maybe the line building the database connection, did you? Gerhard -- mail: gerhard <at> bigfoot <dot> de registered Linux user #64239 web: http://www.cs.fhm.edu/~ifw00065/ OpenPGP public key id 86AB43C0 public key fingerprint: DEC1 1D02 5743 1159 CD20 A4B6 7B22 6575 86AB 43C0 reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b'))) |