[pypy-dev] ZODB3
Aroldo Souza-Leite
asouzaleite at gmx.de
Fri Mar 2 11:03:53 CET 2012
Hi list,
now ZODB3 and zope.testing can be pip-installed in a PyPy virtual
environment and the tests can be called. But the tests fail.
The same tests pass in CPython2.7.
Could somebody please make a short comment on this before I eventually
forward the case to the ZODB department?
The attachment contains the complete bash session in Sphinx format with
"Test results" as its last subsection. This is probably the only
interesting part for developers, so that I'm reproducing it below.
Thanks and cheers.
Aroldo.
-------------------<Test results>
(tmp-env-pypy)aroldo at aroldo-laptop:~$python tmp-env-pypy/site-packages/ZODB/te
sts/testZODB.py
output:
EEEEEEEEEE
======================================================================
ERROR: checkExplicitTransactionManager (__main__.ZODBTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tmp-env-pypy/site-packages/ZODB/tests/testZODB.py", line 159, in checkE
xplicitTransactionManager
File "/home/aroldo/tmp-env-pypy/lib-python/modified-2.7/UserDict.py", line 50
, in has_key
def has_key(self, key): return key in self.data
File "/home/aroldo/tmp-env-pypy/site-packages/persistent/mapping.py", line 30
, in __get__
return self.func(inst)
File "/home/aroldo/tmp-env-pypy/site-packages/persistent/mapping.py", line 99
, in data
data = self.__dict__.pop('_container')
KeyError: '_container'
======================================================================
ERROR: checkExportImport (__main__.ZODBTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tmp-env-pypy/site-packages/ZODB/tests/testZODB.py", line 54, in checkEx
portImport
File "tmp-env-pypy/site-packages/ZODB/tests/testZODB.py", line 46, in populat
e
File "/home/aroldo/tmp-env-pypy/site-packages/persistent/mapping.py", line 63
, in __setitem__
self.__super_setitem(key, v)
File "/home/aroldo/tmp-env-pypy/lib-python/modified-2.7/UserDict.py", line 29
, in __setitem__
def __setitem__(self, key, item): self.data[key] = item
File "/home/aroldo/tmp-env-pypy/site-packages/persistent/mapping.py", line 30
, in __get__
return self.func(inst)
File "/home/aroldo/tmp-env-pypy/site-packages/persistent/mapping.py", line 99
, in data
data = self.__dict__.pop('_container')
KeyError: '_container'
======================================================================
ERROR: checkExportImportAborted (__main__.ZODBTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tmp-env-pypy/site-packages/ZODB/tests/testZODB.py", line 122, in checkE
xportImportAborted
File "tmp-env-pypy/site-packages/ZODB/tests/testZODB.py", line 54, in checkEx
portImport
File "tmp-env-pypy/site-packages/ZODB/tests/testZODB.py", line 46, in populat
e
File "/home/aroldo/tmp-env-pypy/site-packages/persistent/mapping.py", line 63
, in __setitem__
self.__super_setitem(key, v)
File "/home/aroldo/tmp-env-pypy/lib-python/modified-2.7/UserDict.py", line 29
, in __setitem__
def __setitem__(self, key, item): self.data[key] = item
File "/home/aroldo/tmp-env-pypy/site-packages/persistent/mapping.py", line 30
, in __get__
return self.func(inst)
File "/home/aroldo/tmp-env-pypy/site-packages/persistent/mapping.py", line 99
, in data
data = self.__dict__.pop('_container')
KeyError: '_container'
======================================================================
ERROR: checkFailingCommitSticks (__main__.ZODBTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tmp-env-pypy/site-packages/ZODB/tests/testZODB.py", line 289, in checkF
ailingCommitSticks
File "/home/aroldo/tmp-env-pypy/site-packages/persistent/mapping.py", line 63
, in __setitem__
self.__super_setitem(key, v)
File "/home/aroldo/tmp-env-pypy/lib-python/modified-2.7/UserDict.py", line 29
, in __setitem__
def __setitem__(self, key, item): self.data[key] = item
File "/home/aroldo/tmp-env-pypy/site-packages/persistent/mapping.py", line 30
, in __get__
return self.func(inst)
File "/home/aroldo/tmp-env-pypy/site-packages/persistent/mapping.py", line 99
, in data
data = self.__dict__.pop('_container')
KeyError: '_container'
======================================================================
ERROR: checkFailingSavepointSticks (__main__.ZODBTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tmp-env-pypy/site-packages/ZODB/tests/testZODB.py", line 334, in checkF
ailingSavepointSticks
File "/home/aroldo/tmp-env-pypy/site-packages/persistent/mapping.py", line 63
, in __setitem__
self.__super_setitem(key, v)
File "/home/aroldo/tmp-env-pypy/lib-python/modified-2.7/UserDict.py", line 29
, in __setitem__
def __setitem__(self, key, item): self.data[key] = item
File "/home/aroldo/tmp-env-pypy/site-packages/persistent/mapping.py", line 30
, in __get__
return self.func(inst)
File "/home/aroldo/tmp-env-pypy/site-packages/persistent/mapping.py", line 99
, in data
data = self.__dict__.pop('_container')
KeyError: '_container'
======================================================================
ERROR: checkMultipleUndoInOneTransaction (__main__.ZODBTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tmp-env-pypy/site-packages/ZODB/tests/testZODB.py", line 403, in checkM
ultipleUndoInOneTransaction
File "/home/aroldo/tmp-env-pypy/site-packages/persistent/mapping.py", line 63
, in __setitem__
self.__super_setitem(key, v)
File "/home/aroldo/tmp-env-pypy/lib-python/modified-2.7/UserDict.py", line 29
, in __setitem__
def __setitem__(self, key, item): self.data[key] = item
File "/home/aroldo/tmp-env-pypy/site-packages/persistent/mapping.py", line 30
, in __get__
return self.func(inst)
File "/home/aroldo/tmp-env-pypy/site-packages/persistent/mapping.py", line 99
, in data
data = self.__dict__.pop('_container')
KeyError: '_container'
======================================================================
ERROR: checkResetCache (__main__.ZODBTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tmp-env-pypy/site-packages/ZODB/tests/testZODB.py", line 129, in checkR
esetCache
File "tmp-env-pypy/site-packages/ZODB/tests/testZODB.py", line 46, in populat
e
File "/home/aroldo/tmp-env-pypy/site-packages/persistent/mapping.py", line 63
, in __setitem__
self.__super_setitem(key, v)
File "/home/aroldo/tmp-env-pypy/lib-python/modified-2.7/UserDict.py", line 29
, in __setitem__
def __setitem__(self, key, item): self.data[key] = item
File "/home/aroldo/tmp-env-pypy/site-packages/persistent/mapping.py", line 30
, in __get__
return self.func(inst)
File "/home/aroldo/tmp-env-pypy/site-packages/persistent/mapping.py", line 99
, in data
data = self.__dict__.pop('_container')
KeyError: '_container'
======================================================================
ERROR: checkResetCachesAPI (__main__.ZODBTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tmp-env-pypy/site-packages/ZODB/tests/testZODB.py", line 139, in checkR
esetCachesAPI
File "tmp-env-pypy/site-packages/ZODB/tests/testZODB.py", line 46, in populat
e
File "/home/aroldo/tmp-env-pypy/site-packages/persistent/mapping.py", line 63
, in __setitem__
self.__super_setitem(key, v)
File "/home/aroldo/tmp-env-pypy/lib-python/modified-2.7/UserDict.py", line 29
, in __setitem__
def __setitem__(self, key, item): self.data[key] = item
File "/home/aroldo/tmp-env-pypy/site-packages/persistent/mapping.py", line 30
, in __get__
return self.func(inst)
File "/home/aroldo/tmp-env-pypy/site-packages/persistent/mapping.py", line 99
, in data
data = self.__dict__.pop('_container')
KeyError: '_container'
======================================================================
ERROR: checkSavepointDoesntGetInvalidations (__main__.ZODBTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tmp-env-pypy/site-packages/ZODB/tests/testZODB.py", line 204, in checkS
avepointDoesntGetInvalidations
File "/home/aroldo/tmp-env-pypy/site-packages/persistent/mapping.py", line 63
, in __setitem__
self.__super_setitem(key, v)
File "/home/aroldo/tmp-env-pypy/lib-python/modified-2.7/UserDict.py", line 29
, in __setitem__
def __setitem__(self, key, item): self.data[key] = item
File "/home/aroldo/tmp-env-pypy/site-packages/persistent/mapping.py", line 30
, in __get__
return self.func(inst)
File "/home/aroldo/tmp-env-pypy/site-packages/persistent/mapping.py", line 99
, in data
data = self.__dict__.pop('_container')
KeyError: '_container'
======================================================================
ERROR: checkTxnBeginImpliesAbort (__main__.ZODBTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tmp-env-pypy/site-packages/ZODB/tests/testZODB.py", line 257, in checkT
xnBeginImpliesAbort
File "/home/aroldo/tmp-env-pypy/site-packages/persistent/mapping.py", line 63
, in __setitem__
self.__super_setitem(key, v)
File "/home/aroldo/tmp-env-pypy/lib-python/modified-2.7/UserDict.py", line 29
, in __setitem__
def __setitem__(self, key, item): self.data[key] = item
File "/home/aroldo/tmp-env-pypy/site-packages/persistent/mapping.py", line 30
, in __get__
return self.func(inst)
File "/home/aroldo/tmp-env-pypy/site-packages/persistent/mapping.py", line 99
, in data
data = self.__dict__.pop('_container')
KeyError: '_container'
----------------------------------------------------------------------
Ran 10 tests in 0.439s
FAILED (errors=10)
-----</Test results>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pypy-zodb3.txt
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20120302/0edbb629/attachment-0001.txt>
More information about the pypy-dev
mailing list