[Zope-tests] FAILED (failures=1,
errors=6): Test ZODB HEAD / Python 2.3 / Linux
jeremy at zope.com
jeremy at zope.com
Fri Feb 20 10:09:12 EST 2004
Email automatically generated by a daily test runner.
cd /tmp/autotestMuUpJx/ZODB
PYTHONPATH= /usr/local/bin/python2.3 -u test.py -v --all
Running unit tests at all levels
Running unit tests from /tmp/autotestMuUpJx/ZODB/build
/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/Persistence/__init__.py:25: UserWarning: Couldn't import the ExtensionClass-based base class
There are two possibilities:
1. You don't care about ExtensionClass. You are importing
Persistence because that's what you imported in the past.
In this case, you should really use the persistent package
instead:
>>> from persistent import Persistent
>>> from persistent.list import PersistentList
>>> from persistent.mapping import PersistentMapping
2. You want your classes to be ExtensionClasses. In this case,
you need to install the ExtensionClass package
separately. ExtensionClass is no-longer included with ZODB3.
warn("""Couldn't import the ExtensionClass-based base class
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Error in test unittest.FunctionTestCase (runit)
Traceback (most recent call last):
File "/usr/local/lib/python2.3/unittest.py", line 423, in runTest
self.__testFunc()
File "/usr/local/lib/python2.3/doctest.py", line 1359, in runit
_utest(tester, name, doc, filename, lineno)
File "/usr/local/lib/python2.3/doctest.py", line 1309, in _utest
raise DocTestTestFailure('Failed doctest test for %s\n'
DocTestTestFailure: Failed doctest test for Persistence.tests.test_ExtensionClass.test_basic_pickling
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/Persistence/tests/test_ExtensionClass.py", line 281, in test_basic_pickling
Running string Persistence.tests.test_ExtensionClass.test_basic_pickling
Trying: x = Simple('x', aaa=1, bbb='foo')
Expecting: nothing
ok
Trying: x.__getnewargs__()
Expecting: ()
*****************************************************************
Failure in example: x.__getnewargs__()
from line #3 of Persistence.tests.test_ExtensionClass.test_basic_pickling
Exception raised:
Traceback (most recent call last):
File "/usr/local/lib/python2.3/doctest.py", line 442, in _run_examples_inner
compileflags, 1) in globs
File "<string>", line 1, in ?
AttributeError: 'Simple' object has no attribute '__getnewargs__'
Trying: print_dict(x.__getstate__())
Expecting: {'__name__': 'x', 'aaa': 1, 'bbb': 'foo'}
ok
Trying: f, (c,), state = x.__reduce__()
Expecting: nothing
ok
Trying: f.__name__
Expecting: '__newobj__'
ok
Trying: f.__module__
Expecting: 'copy_reg'
ok
Trying: c.__name__
Expecting: 'Simple'
ok
Trying: print_dict(state)
Expecting: {'__name__': 'x', 'aaa': 1, 'bbb': 'foo'}
ok
Trying: pickle.loads(pickle.dumps(x)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 0)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 1)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 2)) == x
Expecting: 1
ok
Trying: x.__setstate__({'z': 1})
Expecting: nothing
ok
Trying: x.__dict__
Expecting: {'z': 1}
ok
1 of 14 examples failed in string Persistence.tests.test_ExtensionClass.test_basic_pickling
..
Error in test unittest.FunctionTestCase (runit)
Traceback (most recent call last):
File "/usr/local/lib/python2.3/unittest.py", line 423, in runTest
self.__testFunc()
File "/usr/local/lib/python2.3/doctest.py", line 1359, in runit
_utest(tester, name, doc, filename, lineno)
File "/usr/local/lib/python2.3/doctest.py", line 1309, in _utest
raise DocTestTestFailure('Failed doctest test for %s\n'
DocTestTestFailure: Failed doctest test for Persistence.tests.test_ExtensionClass.test_pickling_w_slots
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/Persistence/tests/test_ExtensionClass.py", line 433, in test_pickling_w_slots
Running string Persistence.tests.test_ExtensionClass.test_pickling_w_slots
Trying: x = SubSubSlotted('x', 'y', 'z', aaa=1, bbb='foo')
Expecting: nothing
ok
Trying: x.__getnewargs__()
Expecting: ()
*****************************************************************
Failure in example: x.__getnewargs__()
from line #3 of Persistence.tests.test_ExtensionClass.test_pickling_w_slots
Exception raised:
Traceback (most recent call last):
File "/usr/local/lib/python2.3/doctest.py", line 442, in _run_examples_inner
compileflags, 1) in globs
File "<string>", line 1, in ?
AttributeError: 'SubSubSlotted' object has no attribute '__getnewargs__'
Trying: d, s = x.__getstate__()
Expecting: nothing
ok
Trying: print_dict(d)
Expecting: {'aaa': 1, 'bbb': 'foo'}
ok
Trying: print_dict(s)
Expecting: {'s1': 'x', 's2': 'y', 's3': 'z'}
ok
Trying: pickle.loads(pickle.dumps(x)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 0)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 1)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 2)) == x
Expecting: 1
ok
Trying: x.s4 = 'spam'
Expecting: nothing
ok
Trying: d, s = x.__getstate__()
Expecting: nothing
ok
Trying: print_dict(d)
Expecting: {'aaa': 1, 'bbb': 'foo'}
ok
Trying: print_dict(s)
Expecting: {'s1': 'x', 's2': 'y', 's3': 'z', 's4': 'spam'}
ok
Trying: pickle.loads(pickle.dumps(x)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 0)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 1)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 2)) == x
Expecting: 1
ok
1 of 17 examples failed in string Persistence.tests.test_ExtensionClass.test_pickling_w_slots
Error in test unittest.FunctionTestCase (runit)
Traceback (most recent call last):
File "/usr/local/lib/python2.3/unittest.py", line 423, in runTest
self.__testFunc()
File "/usr/local/lib/python2.3/doctest.py", line 1359, in runit
_utest(tester, name, doc, filename, lineno)
File "/usr/local/lib/python2.3/doctest.py", line 1309, in _utest
raise DocTestTestFailure('Failed doctest test for %s\n'
DocTestTestFailure: Failed doctest test for Persistence.tests.test_ExtensionClass.test_pickling_w_slots_only
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/Persistence/tests/test_ExtensionClass.py", line 381, in test_pickling_w_slots_only
Running string Persistence.tests.test_ExtensionClass.test_pickling_w_slots_only
Trying: x = SubSlotted('x', 'y', 'z')
Expecting: nothing
ok
Trying: x.__getnewargs__()
Expecting: ()
*****************************************************************
Failure in example: x.__getnewargs__()
from line #3 of Persistence.tests.test_ExtensionClass.test_pickling_w_slots_only
Exception raised:
Traceback (most recent call last):
File "/usr/local/lib/python2.3/doctest.py", line 442, in _run_examples_inner
compileflags, 1) in globs
File "<string>", line 1, in ?
AttributeError: 'SubSlotted' object has no attribute '__getnewargs__'
Trying: d, s = x.__getstate__()
Expecting: nothing
ok
Trying: d
Expecting: nothing
ok
Trying: print_dict(s)
Expecting: {'s1': 'x', 's2': 'y', 's3': 'z'}
ok
Trying: pickle.loads(pickle.dumps(x)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 0)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 1)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 2)) == x
Expecting: 1
ok
Trying: x.s4 = 'spam'
Expecting: nothing
ok
Trying: d, s = x.__getstate__()
Expecting: nothing
ok
Trying: d
Expecting: nothing
ok
Trying: print_dict(s)
Expecting: {'s1': 'x', 's2': 'y', 's3': 'z', 's4': 'spam'}
ok
Trying: pickle.loads(pickle.dumps(x)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 0)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 1)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 2)) == x
Expecting: 1
ok
1 of 17 examples failed in string Persistence.tests.test_ExtensionClass.test_pickling_w_slots_only
Error in test unittest.FunctionTestCase (runit)
Traceback (most recent call last):
File "/usr/local/lib/python2.3/unittest.py", line 423, in runTest
self.__testFunc()
File "/usr/local/lib/python2.3/doctest.py", line 1359, in runit
_utest(tester, name, doc, filename, lineno)
File "/usr/local/lib/python2.3/doctest.py", line 1309, in _utest
raise DocTestTestFailure('Failed doctest test for %s\n'
DocTestTestFailure: Failed doctest test for Persistence.tests.test_ExtensionClass.test_pickling_w_slots_w_empty_dict
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/Persistence/tests/test_ExtensionClass.py", line 474, in test_pickling_w_slots_w_empty_dict
Running string Persistence.tests.test_ExtensionClass.test_pickling_w_slots_w_empty_dict
Trying: x = SubSubSlotted('x', 'y', 'z')
Expecting: nothing
ok
Trying: x.__getnewargs__()
Expecting: ()
*****************************************************************
Failure in example: x.__getnewargs__()
from line #3 of Persistence.tests.test_ExtensionClass.test_pickling_w_slots_w_empty_dict
Exception raised:
Traceback (most recent call last):
File "/usr/local/lib/python2.3/doctest.py", line 442, in _run_examples_inner
compileflags, 1) in globs
File "<string>", line 1, in ?
AttributeError: 'SubSubSlotted' object has no attribute '__getnewargs__'
Trying: d, s = x.__getstate__()
Expecting: nothing
ok
Trying: print_dict(d)
Expecting: {}
ok
Trying: print_dict(s)
Expecting: {'s1': 'x', 's2': 'y', 's3': 'z'}
ok
Trying: pickle.loads(pickle.dumps(x)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 0)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 1)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 2)) == x
Expecting: 1
ok
Trying: x.s4 = 'spam'
Expecting: nothing
ok
Trying: d, s = x.__getstate__()
Expecting: nothing
ok
Trying: print_dict(d)
Expecting: {}
ok
Trying: print_dict(s)
Expecting: {'s1': 'x', 's2': 'y', 's3': 'z', 's4': 'spam'}
ok
Trying: pickle.loads(pickle.dumps(x)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 0)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 1)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 2)) == x
Expecting: 1
ok
1 of 17 examples failed in string Persistence.tests.test_ExtensionClass.test_pickling_w_slots_w_empty_dict
.........................................................................................................................................................................................................................................................................................................................................................................................................
Error in test test_bdbfull_simple (ZODB.tests.testConfig.BDBConfigTest)
Traceback (most recent call last):
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/tests/testConfig.py", line 136, in test_bdbfull_simple
self._test(cfg)
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/tests/testConfig.py", line 35, in _test
db = self._opendb(s)
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/tests/testConfig.py", line 28, in _opendb
return ZODB.config.databaseFromString(s)
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/config.py", line 44, in databaseFromString
return databaseFromFile(StringIO(s))
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/config.py", line 48, in databaseFromFile
return databaseFromConfig(config.database)
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/config.py", line 55, in databaseFromConfig
return section.open()
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/config.py", line 97, in open
return ZODB.DB(section.storage.open(),
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/config.py", line 153, in open
from BDBStorage.BerkeleyBase import BerkeleyConfig
File "/home/jeremy/src/branches/ZODB3-Zope-2_7-branch/build/lib.linux-i686-2.3/BDBStorage/BerkeleyBase.py", line 34, in ?
from ZODB.referencesf import referencesf
ImportError: No module named referencesf
Error in test test_bdbminimal_simple (ZODB.tests.testConfig.BDBConfigTest)
Traceback (most recent call last):
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/tests/testConfig.py", line 146, in test_bdbminimal_simple
self._test(cfg)
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/tests/testConfig.py", line 35, in _test
db = self._opendb(s)
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/tests/testConfig.py", line 28, in _opendb
return ZODB.config.databaseFromString(s)
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/config.py", line 44, in databaseFromString
return databaseFromFile(StringIO(s))
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/config.py", line 48, in databaseFromFile
return databaseFromConfig(config.database)
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/config.py", line 55, in databaseFromConfig
return section.open()
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/config.py", line 97, in open
return ZODB.DB(section.storage.open(),
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/config.py", line 153, in open
from BDBStorage.BerkeleyBase import BerkeleyConfig
ImportError: cannot import name BerkeleyConfig
..................................................................................................................................................................................................................................................................................................................................................................................
Failure in test testRunIgnoresParentSignals (zdaemon.tests.testzdrun.ZDaemonTests)
Traceback (most recent call last):
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/zdaemon/tests/testzdrun.py", line 228, in testRunIgnoresParentSignals
self.assert_(len(params) > 1, repr(response))
File "/usr/local/lib/python2.3/unittest.py", line 278, in failUnless
if not expr: raise self.failureException, msg
AssertionError: ''
...
======================================================================
ERROR: doctest of Persistence.tests.test_ExtensionClass.test_basic_pickling
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.3/unittest.py", line 423, in runTest
self.__testFunc()
File "/usr/local/lib/python2.3/doctest.py", line 1359, in runit
_utest(tester, name, doc, filename, lineno)
File "/usr/local/lib/python2.3/doctest.py", line 1309, in _utest
raise DocTestTestFailure('Failed doctest test for %s\n'
DocTestTestFailure: Failed doctest test for Persistence.tests.test_ExtensionClass.test_basic_pickling
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/Persistence/tests/test_ExtensionClass.py", line 281, in test_basic_pickling
Running string Persistence.tests.test_ExtensionClass.test_basic_pickling
Trying: x = Simple('x', aaa=1, bbb='foo')
Expecting: nothing
ok
Trying: x.__getnewargs__()
Expecting: ()
*****************************************************************
Failure in example: x.__getnewargs__()
from line #3 of Persistence.tests.test_ExtensionClass.test_basic_pickling
Exception raised:
Traceback (most recent call last):
File "/usr/local/lib/python2.3/doctest.py", line 442, in _run_examples_inner
compileflags, 1) in globs
File "<string>", line 1, in ?
AttributeError: 'Simple' object has no attribute '__getnewargs__'
Trying: print_dict(x.__getstate__())
Expecting: {'__name__': 'x', 'aaa': 1, 'bbb': 'foo'}
ok
Trying: f, (c,), state = x.__reduce__()
Expecting: nothing
ok
Trying: f.__name__
Expecting: '__newobj__'
ok
Trying: f.__module__
Expecting: 'copy_reg'
ok
Trying: c.__name__
Expecting: 'Simple'
ok
Trying: print_dict(state)
Expecting: {'__name__': 'x', 'aaa': 1, 'bbb': 'foo'}
ok
Trying: pickle.loads(pickle.dumps(x)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 0)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 1)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 2)) == x
Expecting: 1
ok
Trying: x.__setstate__({'z': 1})
Expecting: nothing
ok
Trying: x.__dict__
Expecting: {'z': 1}
ok
1 of 14 examples failed in string Persistence.tests.test_ExtensionClass.test_basic_pickling
======================================================================
ERROR: doctest of Persistence.tests.test_ExtensionClass.test_pickling_w_slots
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.3/unittest.py", line 423, in runTest
self.__testFunc()
File "/usr/local/lib/python2.3/doctest.py", line 1359, in runit
_utest(tester, name, doc, filename, lineno)
File "/usr/local/lib/python2.3/doctest.py", line 1309, in _utest
raise DocTestTestFailure('Failed doctest test for %s\n'
DocTestTestFailure: Failed doctest test for Persistence.tests.test_ExtensionClass.test_pickling_w_slots
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/Persistence/tests/test_ExtensionClass.py", line 433, in test_pickling_w_slots
Running string Persistence.tests.test_ExtensionClass.test_pickling_w_slots
Trying: x = SubSubSlotted('x', 'y', 'z', aaa=1, bbb='foo')
Expecting: nothing
ok
Trying: x.__getnewargs__()
Expecting: ()
*****************************************************************
Failure in example: x.__getnewargs__()
from line #3 of Persistence.tests.test_ExtensionClass.test_pickling_w_slots
Exception raised:
Traceback (most recent call last):
File "/usr/local/lib/python2.3/doctest.py", line 442, in _run_examples_inner
compileflags, 1) in globs
File "<string>", line 1, in ?
AttributeError: 'SubSubSlotted' object has no attribute '__getnewargs__'
Trying: d, s = x.__getstate__()
Expecting: nothing
ok
Trying: print_dict(d)
Expecting: {'aaa': 1, 'bbb': 'foo'}
ok
Trying: print_dict(s)
Expecting: {'s1': 'x', 's2': 'y', 's3': 'z'}
ok
Trying: pickle.loads(pickle.dumps(x)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 0)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 1)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 2)) == x
Expecting: 1
ok
Trying: x.s4 = 'spam'
Expecting: nothing
ok
Trying: d, s = x.__getstate__()
Expecting: nothing
ok
Trying: print_dict(d)
Expecting: {'aaa': 1, 'bbb': 'foo'}
ok
Trying: print_dict(s)
Expecting: {'s1': 'x', 's2': 'y', 's3': 'z', 's4': 'spam'}
ok
Trying: pickle.loads(pickle.dumps(x)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 0)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 1)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 2)) == x
Expecting: 1
ok
1 of 17 examples failed in string Persistence.tests.test_ExtensionClass.test_pickling_w_slots
======================================================================
ERROR: doctest of Persistence.tests.test_ExtensionClass.test_pickling_w_slots_only
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.3/unittest.py", line 423, in runTest
self.__testFunc()
File "/usr/local/lib/python2.3/doctest.py", line 1359, in runit
_utest(tester, name, doc, filename, lineno)
File "/usr/local/lib/python2.3/doctest.py", line 1309, in _utest
raise DocTestTestFailure('Failed doctest test for %s\n'
DocTestTestFailure: Failed doctest test for Persistence.tests.test_ExtensionClass.test_pickling_w_slots_only
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/Persistence/tests/test_ExtensionClass.py", line 381, in test_pickling_w_slots_only
Running string Persistence.tests.test_ExtensionClass.test_pickling_w_slots_only
Trying: x = SubSlotted('x', 'y', 'z')
Expecting: nothing
ok
Trying: x.__getnewargs__()
Expecting: ()
*****************************************************************
Failure in example: x.__getnewargs__()
from line #3 of Persistence.tests.test_ExtensionClass.test_pickling_w_slots_only
Exception raised:
Traceback (most recent call last):
File "/usr/local/lib/python2.3/doctest.py", line 442, in _run_examples_inner
compileflags, 1) in globs
File "<string>", line 1, in ?
AttributeError: 'SubSlotted' object has no attribute '__getnewargs__'
Trying: d, s = x.__getstate__()
Expecting: nothing
ok
Trying: d
Expecting: nothing
ok
Trying: print_dict(s)
Expecting: {'s1': 'x', 's2': 'y', 's3': 'z'}
ok
Trying: pickle.loads(pickle.dumps(x)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 0)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 1)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 2)) == x
Expecting: 1
ok
Trying: x.s4 = 'spam'
Expecting: nothing
ok
Trying: d, s = x.__getstate__()
Expecting: nothing
ok
Trying: d
Expecting: nothing
ok
Trying: print_dict(s)
Expecting: {'s1': 'x', 's2': 'y', 's3': 'z', 's4': 'spam'}
ok
Trying: pickle.loads(pickle.dumps(x)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 0)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 1)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 2)) == x
Expecting: 1
ok
1 of 17 examples failed in string Persistence.tests.test_ExtensionClass.test_pickling_w_slots_only
======================================================================
ERROR: doctest of Persistence.tests.test_ExtensionClass.test_pickling_w_slots_w_empty_dict
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.3/unittest.py", line 423, in runTest
self.__testFunc()
File "/usr/local/lib/python2.3/doctest.py", line 1359, in runit
_utest(tester, name, doc, filename, lineno)
File "/usr/local/lib/python2.3/doctest.py", line 1309, in _utest
raise DocTestTestFailure('Failed doctest test for %s\n'
DocTestTestFailure: Failed doctest test for Persistence.tests.test_ExtensionClass.test_pickling_w_slots_w_empty_dict
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/Persistence/tests/test_ExtensionClass.py", line 474, in test_pickling_w_slots_w_empty_dict
Running string Persistence.tests.test_ExtensionClass.test_pickling_w_slots_w_empty_dict
Trying: x = SubSubSlotted('x', 'y', 'z')
Expecting: nothing
ok
Trying: x.__getnewargs__()
Expecting: ()
*****************************************************************
Failure in example: x.__getnewargs__()
from line #3 of Persistence.tests.test_ExtensionClass.test_pickling_w_slots_w_empty_dict
Exception raised:
Traceback (most recent call last):
File "/usr/local/lib/python2.3/doctest.py", line 442, in _run_examples_inner
compileflags, 1) in globs
File "<string>", line 1, in ?
AttributeError: 'SubSubSlotted' object has no attribute '__getnewargs__'
Trying: d, s = x.__getstate__()
Expecting: nothing
ok
Trying: print_dict(d)
Expecting: {}
ok
Trying: print_dict(s)
Expecting: {'s1': 'x', 's2': 'y', 's3': 'z'}
ok
Trying: pickle.loads(pickle.dumps(x)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 0)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 1)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 2)) == x
Expecting: 1
ok
Trying: x.s4 = 'spam'
Expecting: nothing
ok
Trying: d, s = x.__getstate__()
Expecting: nothing
ok
Trying: print_dict(d)
Expecting: {}
ok
Trying: print_dict(s)
Expecting: {'s1': 'x', 's2': 'y', 's3': 'z', 's4': 'spam'}
ok
Trying: pickle.loads(pickle.dumps(x)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 0)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 1)) == x
Expecting: 1
ok
Trying: pickle.loads(pickle.dumps(x, 2)) == x
Expecting: 1
ok
1 of 17 examples failed in string Persistence.tests.test_ExtensionClass.test_pickling_w_slots_w_empty_dict
======================================================================
ERROR: test_bdbfull_simple (ZODB.tests.testConfig.BDBConfigTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/tests/testConfig.py", line 136, in test_bdbfull_simple
self._test(cfg)
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/tests/testConfig.py", line 35, in _test
db = self._opendb(s)
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/tests/testConfig.py", line 28, in _opendb
return ZODB.config.databaseFromString(s)
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/config.py", line 44, in databaseFromString
return databaseFromFile(StringIO(s))
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/config.py", line 48, in databaseFromFile
return databaseFromConfig(config.database)
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/config.py", line 55, in databaseFromConfig
return section.open()
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/config.py", line 97, in open
return ZODB.DB(section.storage.open(),
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/config.py", line 153, in open
from BDBStorage.BerkeleyBase import BerkeleyConfig
File "/home/jeremy/src/branches/ZODB3-Zope-2_7-branch/build/lib.linux-i686-2.3/BDBStorage/BerkeleyBase.py", line 34, in ?
from ZODB.referencesf import referencesf
ImportError: No module named referencesf
======================================================================
ERROR: test_bdbminimal_simple (ZODB.tests.testConfig.BDBConfigTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/tests/testConfig.py", line 146, in test_bdbminimal_simple
self._test(cfg)
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/tests/testConfig.py", line 35, in _test
db = self._opendb(s)
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/tests/testConfig.py", line 28, in _opendb
return ZODB.config.databaseFromString(s)
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/config.py", line 44, in databaseFromString
return databaseFromFile(StringIO(s))
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/config.py", line 48, in databaseFromFile
return databaseFromConfig(config.database)
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/config.py", line 55, in databaseFromConfig
return section.open()
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/config.py", line 97, in open
return ZODB.DB(section.storage.open(),
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/ZODB/config.py", line 153, in open
from BDBStorage.BerkeleyBase import BerkeleyConfig
ImportError: cannot import name BerkeleyConfig
======================================================================
FAIL: testRunIgnoresParentSignals (zdaemon.tests.testzdrun.ZDaemonTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autotestMuUpJx/ZODB/build/lib.linux-i686-2.3/zdaemon/tests/testzdrun.py", line 228, in testRunIgnoresParentSignals
self.assert_(len(params) > 1, repr(response))
File "/usr/local/lib/python2.3/unittest.py", line 278, in failUnless
if not expr: raise self.failureException, msg
AssertionError: ''
----------------------------------------------------------------------
Ran 1424 tests in 644.602s
FAILED (failures=1, errors=6)
More information about the Zope-tests
mailing list