Re: [pysqlite] CheckOnConflictRollback failed on 2.4.1 test suite

Gerhard Häring <[email protected]> Tue, 20 May 2008 10:27:46 +0200
Newsgroups gmane.comp.python.db.pysqlite.user
Message-ID <[email protected]>
Myshkin LeVine wrote:
> Hello All,
> 	  I installed pysqlite-2.4.1 from source on my Powerbook G4 running  
> MacOSX 10.4.11 with Python 2.5.2. I got no errors during the build  
> and install processes. When I ran the test suite as shown on the page  
> doc/install-source.html I got 1 error out of the 190 which were run. [...]
> ======================================================================
> 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 110, in  
> CheckOnConflictRollback
>      self.fail("pysqlite knew nothing about the implicit ROLLBACK")
> AssertionError: pysqlite knew nothing about the implicit ROLLBACK
> [...]
> Is there anything I can do to fix this? Also, since there was only  
> this one error, can I trust my installation of pysqlite-2.4.1 to  
> function properly?

Everything's ok. It looks like I'll have to fix the test suite. Or it's 
a MacOS specific thing where perhaps multiple SQLite versions are on the 
disk and a different one is used at runtime than at build time.

-- Gerhard