[Zope-dev] Test failures with five-integration branch merged to head...

Brian Lloyd brian at zope.com
Wed Mar 30 14:38:54 EST 2005


I did a merge from the five-integration branch to the head 
in a local sandbox, and got the following test failures - 
anyone know anything about them?


Brian Lloyd        brian at zope.com
V.P. Engineering   540.361.1716              
Zope Corporation   http://www.zope.com 
-------------- next part --------------
Running unit tests from /home/brian/zhead/lib/python
er argument expected, got float
======================================================================
ERROR: testBucketGet (BTrees.tests.test_compare.CompareTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/brian/zhead/lib/python/BTrees/tests/test_compare.py", line 32, in setUp
    self.assertRaises(UnicodeError, unicode, self.s)
  File "/home/brian/build/opt/Python-2.3.4/lib/python2.3/unittest.py", line 295, in failUnlessRaises
    raise self.failureException, excName
AssertionError: UnicodeError

======================================================================
ERROR: testBucketMinKey (BTrees.tests.test_compare.CompareTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/brian/zhead/lib/python/BTrees/tests/test_compare.py", line 32, in setUp
    self.assertRaises(UnicodeError, unicode, self.s)
  File "/home/brian/build/opt/Python-2.3.4/lib/python2.3/unittest.py", line 295, in failUnlessRaises
    raise self.failureException, excName
AssertionError: UnicodeError

======================================================================
ERROR: testBucketSet (BTrees.tests.test_compare.CompareTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/brian/zhead/lib/python/BTrees/tests/test_compare.py", line 32, in setUp
    self.assertRaises(UnicodeError, unicode, self.s)
  File "/home/brian/build/opt/Python-2.3.4/lib/python2.3/unittest.py", line 295, in failUnlessRaises
    raise self.failureException, excName
AssertionError: UnicodeError

======================================================================
ERROR: testSetGet (BTrees.tests.test_compare.CompareTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/brian/zhead/lib/python/BTrees/tests/test_compare.py", line 32, in setUp
    self.assertRaises(UnicodeError, unicode, self.s)
  File "/home/brian/build/opt/Python-2.3.4/lib/python2.3/unittest.py", line 295, in failUnlessRaises
    raise self.failureException, excName
AssertionError: UnicodeError

======================================================================
ERROR: testSetMinKey (BTrees.tests.test_compare.CompareTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/brian/zhead/lib/python/BTrees/tests/test_compare.py", line 32, in setUp
    self.assertRaises(UnicodeError, unicode, self.s)
  File "/home/brian/build/opt/Python-2.3.4/lib/python2.3/unittest.py", line 295, in failUnlessRaises
    raise self.failureException, excName
AssertionError: UnicodeError

======================================================================
ERROR: testSetSet (BTrees.tests.test_compare.CompareTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/brian/zhead/lib/python/BTrees/tests/test_compare.py", line 32, in setUp
    self.assertRaises(UnicodeError, unicode, self.s)
  File "/home/brian/build/opt/Python-2.3.4/lib/python2.3/unittest.py", line 295, in failUnlessRaises
    raise self.failureException, excName
AssertionError: UnicodeError

======================================================================
ERROR: testCanonicalPath (zope.app.traversing.tests.test_conveniencefunctions.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/brian/zhead/lib/python/zope/app/traversing/tests/test_conveniencefunctions.py", line 263, in testCanonicalPath
    self.assertRaises(error_type, canonicalPath, value)
  File "/home/brian/build/opt/Python-2.3.4/lib/python2.3/unittest.py", line 289, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/home/brian/zhead/lib/python/zope/app/traversing/api.py", line 215, in canonicalPath
    raise ValueError('canonical path must start with a "/": %s' % path)
ValueError: canonical path must start with a "/": £23

======================================================================
FAIL: check_unicode_mixed_unknown_encoding (TAL.tests.test_talinterpreter.InterpolateTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/brian/zhead/lib/python/TAL/tests/test_talinterpreter.py", line 280, in check_unicode_mixed_unknown_encoding
    self.assertEqual(interpolate(text, mapping), expected)
  File "/home/brian/build/opt/Python-2.3.4/lib/python2.3/unittest.py", line 302, in failUnlessEqual
    raise self.failureException, \
AssertionError: u'foo d\xe9j\xe0' != u'foo d\\xe9j\\xe0'

======================================================================
FAIL: testBadKeyTypes (zope.app.container.tests.test_btree.TestBTreeContainer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/brian/zhead/lib/python/zope/app/container/tests/test_icontainer.py", line 167, in testBadKeyTypes
    self.assertRaises(TypeError, folder.__setitem__, name, value)
  File "/home/brian/build/opt/Python-2.3.4/lib/python2.3/unittest.py", line 295, in failUnlessRaises
    raise self.failureException, excName
AssertionError: TypeError

======================================================================
FAIL: Doctest: zope.app.container.contained.setitem
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/brian/zhead/lib/python/zope/testing/doctest.py", line 2102, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for zope.app.container.contained.setitem
  File "/home/brian/zhead/lib/python/zope/app/container/contained.py", line 341, in setitem

----------------------------------------------------------------------
File "/home/brian/zhead/lib/python/zope/app/container/contained.py", line 528, in zope.app.container.contained.setitem
Failed example:
    setitem(container, container.__setitem__, 'hello ' + chr(200), item)
Expected:
    Traceback (most recent call last):
    ...
    TypeError: name not unicode or ascii string
Got nothing


======================================================================
FAIL: testBadKeyTypes (zope.app.container.tests.test_icontainer.TestSampleContainer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/brian/zhead/lib/python/zope/app/container/tests/test_icontainer.py", line 167, in testBadKeyTypes
    self.assertRaises(TypeError, folder.__setitem__, name, value)
  File "/home/brian/build/opt/Python-2.3.4/lib/python2.3/unittest.py", line 295, in failUnlessRaises
    raise self.failureException, excName
AssertionError: TypeError

======================================================================
FAIL: testBadKeyTypes (zope.app.folder.tests.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/brian/zhead/lib/python/zope/app/container/tests/test_icontainer.py", line 167, in testBadKeyTypes
    self.assertRaises(TypeError, folder.__setitem__, name, value)
  File "/home/brian/build/opt/Python-2.3.4/lib/python2.3/unittest.py", line 295, in failUnlessRaises
    raise self.failureException, excName
AssertionError: TypeError

----------------------------------------------------------------------
Ran 5466 tests in 589.116s

FAILED (failures=5, errors=7)


More information about the Zope-Dev mailing list