[pysqlite] test.test() error on osX using python2.5.4
Jan Neumann <[email protected]> Fri, 24 Jul 2009 12:08:29 +0200
| Newsgroups | gmane.comp.python.db.pysqlite.user |
|---|---|
| Message-ID | <[email protected]> |
Hello everybody,
I just installed pysqlite-2.5.5 withour error (for the first time).
Trying the test.test() routine I got 2 Errors.
The first error is declared as everything is fine, it's just a mac (http://osdir.com/ml/python.db.pysqlite.user/2008-05/msg00003.html
)
So I don't worry much about it.
But what can I do against the second Failure (FAIL:
CheckSetIsolationLevel) ?
here is the output:
Python 2.5.4 (r254:67917, Dec 23 2008, 14:57:27)
[GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
>>> from pysqlite2 import test
>>> test.test()
................................................................................................................................................................................................F
....F.........
======================================================================
FAIL: CheckOnConflictRollback
(pysqlite2.test.regression.RegressionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/pysqlite2/test/regression.py", line 101, in
CheckOnConflictRollback
self.fail("pysqlite knew nothing about the implicit ROLLBACK")
AssertionError: pysqlite knew nothing about the implicit ROLLBACK
======================================================================
FAIL: CheckSetIsolationLevel (pysqlite2.test.regression.RegressionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/pysqlite2/test/regression.py", line 158, in
CheckSetIsolationLevel
"isolation_level", u"\xe9")
AssertionError: UnicodeEncodeError not raised
----------------------------------------------------------------------
Ran 207 tests in 0.190s
FAILED (failures=2)
>>>
I would appreciate your comments, thanks in advance
Jan