[Zope-Checkins] CVS: Zope/lib/python/OFS/tests - testCopySupport.py:1.3.18.1
Martijn Pieters
mj@zope.com
Wed, 14 Aug 2002 15:48:43 -0400
On Wed, Aug 14, 2002 at 11:28:50AM -0400, Sidnei da Silva wrote:
> + def testPasteSingleNotSameID( self ):
> + def testPasteSingleSameID( self ):
> + def testPasteMultiNotSameID( self ):
> + def testPasteMultiSameID( self ):
These tests fail for me (I was having a look at running the tests with
python -tt), with:
UnpickleableError: Cannot pickle <type 'Python Method'> objects
Here is one traceback (they are all basically the same):
Traceback (most recent call last):
File "testCopySupport.py", line 170, in testPasteMultiNotSameID
File "/home/mj/cvstrees/Zope25/lib/python/OFS/CopySupport.py", line 158,
in manage_pasteObjects
ob=ob._getCopy(self)
File "/home/mj/cvstrees/Zope25/lib/python/OFS/CopySupport.py", line 403,
in _getCopy
ob=container._p_jar.importFile(f)
File "ZODB/ExportImport.py", line 79, in importFile
File "ZODB/Transaction.py", line 234, in commit
File "ZODB/Connection.py", line 346, in commit
UnpickleableError: Cannot pickle <type 'Python Method'> objects
--
Martijn Pieters
| Software Engineer mailto:mj@zope.com
| Zope Corporation http://www.zope.com/
| Creators of Zope http://www.zope.org/
---------------------------------------------