Pysqlite test error

Torstein Thingnaes <2rstein-f/[email protected]>
Newsgroups gmane.comp.python.db.pysqlite.user
Message-ID <[email protected]>
Hello

I've installed pysqlite without problems, but when I try to test it, I get the following errors

>>> from pysqlite2 import test
>>> test.test()
....................................................................................................................................................FF..FFE............
======================================================================
ERROR: CheckUpdateStartsTransaction (pysqlite2.test.transactions.TransactionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/pysqlite2/test/transactions.py", line 73, in CheckUpdateStartsTransaction
    res = self.cur2.fetchone()[0]
TypeError: unsubscriptable object

======================================================================
FAIL: CheckDMLdoesAutoCommitBefore (pysqlite2.test.transactions.TransactionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/pysqlite2/test/transactions.py", line 58, in CheckDMLdoesAutoCommitBefore
    self.failUnlessEqual(len(res), 1)
AssertionError: 0 != 1

======================================================================
FAIL: CheckDeleteStartsTransaction (pysqlite2.test.transactions.TransactionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/pysqlite2/test/transactions.py", line 83, in CheckDeleteStartsTransaction
    self.failUnlessEqual(len(res), 1)
AssertionError: 0 != 1

======================================================================
FAIL: CheckReplaceStartsTransaction (pysqlite2.test.transactions.TransactionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/pysqlite2/test/transactions.py", line 92, in CheckReplaceStartsTransaction
    self.failUnlessEqual(len(res), 1)
AssertionError: 0 != 1

======================================================================
FAIL: CheckToggleAutoCommit (pysqlite2.test.transactions.TransactionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/pysqlite2/test/transactions.py", line 102, in CheckToggleAutoCommit
    self.failUnlessEqual(len(res), 1)
AssertionError: 0 != 1

----------------------------------------------------------------------
Ran 167 tests in 0.827s

FAILED (failures=4, errors=1)


Can anybody help????

Please reply to me at torstein-ScVd/[email protected]


BR
Torstein Thingnæs

_______________________________________________
pysqlite mailing list
pysqlite-IAPFreCvJWPBWskQ1e/[email protected]
http://lists.initd.org/mailman/listinfo/pysqlite
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.