[Zope-tests] FAILED (errors=1) : Zope-trunk-alltests Python-2.6.1 : Linux

Zope Tests zope-tests at epy.co.at
Wed Apr 8 21:02:08 EDT 2009


Zope Tests : FAILED (errors=1) 
Zope-trunk-alltests Python-2.6.1 : Linux

Running /usr/local/python2.6/bin/python ./bin/alltests --all
/home/stefan/autotest/temp/python26-zope212all/src/Products/PluginIndexes/KeywordIndex/tests/testKeywordIndex.py:151: SyntaxWarning: assertion is always true, perhaps remove parentheses?
  assert (len( self._index.uniqueValues( 'foo' ) ) == len( values )-1,
/home/stefan/autotest/temp/python26-zope212all/eggs/zope.session-3.8.1-py2.6.egg/zope/session/http.py:22: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
Running OFS.tests.testCopySupportEvents.EventLayer tests:
  Set up OFS.tests.testCopySupportEvents.EventLayer in 0.458 seconds.
  Ran 14 tests with 0 failures and 0 errors in 0.446 seconds.
Running OFS.tests.testCopySupportHooks.HookLayer tests:
  Tear down OFS.tests.testCopySupportEvents.EventLayer in 0.001 seconds.
  Set up OFS.tests.testCopySupportHooks.HookLayer in 0.708 seconds.
  Ran 14 tests with 0 failures and 0 errors in 0.112 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Tear down OFS.tests.testCopySupportHooks.HookLayer in 0.001 seconds.
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
/home/stefan/autotest/temp/python26-zope212all/src/Testing/ZopeTestCase/zopedoctest/functional.py:295: DeprecationWarning: functions overriding warnings.showwarning() must support the 'line' argument
  "Please fix that."), UserWarning, 4)
  Ran 632 tests with 0 failures and 0 errors in 24.149 seconds.
Running Testing.ZopeTestCase.testShoppingCart.ShoppingCartLayer tests:
  Set up Testing.ZopeTestCase.testShoppingCart.ShoppingCartLayer in 0.227 seconds.
  Ran 16 tests with 0 failures and 0 errors in 0.431 seconds.
Running Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer tests:
  Tear down Testing.ZopeTestCase.testShoppingCart.ShoppingCartLayer in 0.003 seconds.
  Set up Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer in 0.003 seconds.
  Ran 18 tests with 0 failures and 0 errors in 0.116 seconds.
Running Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer tests:
  Tear down Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer in 0.003 seconds.
  Set up Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in 0.002 seconds.
  Ran 2 tests with 0 failures and 0 errors in 0.015 seconds.
Running zope.formlib.tests.FormlibLayer tests:
  Tear down Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in 0.002 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.formlib.tests.FormlibLayer/usr/local/python2.6/lib/python2.6/mhlib.py:83: DeprecationWarning: the multifile module has been deprecated since Python 2.5
  import multifile
/home/stefan/autotest/temp/python26-zope212all/eggs/zope.configuration-3.5.0-py2.6.egg/zope/configuration/config.py:181: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  mod = __import__(mname, *_import_chickens)
 in 2.491 seconds.
  Ran 11 tests with 0 failures and 0 errors in 0.039 seconds.
Running zope.testbrowser.tests.TestBrowserLayer tests:
  Tear down zope.formlib.tests.FormlibLayer in 0.003 seconds.
  Set up zope.testbrowser.tests.TestBrowserLayer in 1.218 seconds.
  Ran 160 tests with 0 failures and 0 errors in 4.290 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down zope.testbrowser.tests.TestBrowserLayer in 0.003 seconds.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
/home/stefan/autotest/temp/python26-zope212all/eggs/docutils-0.5-py2.6.egg/docutils/parsers/rst/__init__.py:178: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  self.message = message
/home/stefan/autotest/temp/python26-zope212all/eggs/docutils-0.5-py2.6.egg/docutils/parsers/rst/states.py:2046: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  directive_error.message)
/home/stefan/autotest/temp/python26-zope212all/eggs/ZODB3-3.9.0a12-py2.6-linux-i686.egg/ZODB/POSException.py:83: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  self.message = message
/home/stefan/autotest/temp/python26-zope212all/eggs/ZODB3-3.9.0a12-py2.6-linux-i686.egg/ZODB/POSException.py:81: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  self.message = "database conflict error"
/home/stefan/autotest/temp/python26-zope212all/eggs/ZODB3-3.9.0a12-py2.6-linux-i686.egg/ZODB/POSException.py:122: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  return self.message
/home/stefan/autotest/temp/python26-zope212all/eggs/ZODB3-3.9.0a12-py2.6-linux-i686.egg/ZODB/POSException.py:120: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  return "%s (%s)" % (self.message, ", ".join(extras))
/home/stefan/autotest/temp/python26-zope212all/eggs/zope.publisher-3.5.7-py2.6.egg/zope/publisher/interfaces/__init__.py:84: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  self.message = message


Error in test test_entities (zope.tal.tests.test_talinterpreter.OutputPresentationTestCase)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope212all/eggs/zope.tal-3.5.0-py2.6.egg/zope/tal/tests/test_talinterpreter.py", line 713, in test_entities
    self.compare(INPUT, EXPECTED)
  File "/home/stefan/autotest/temp/python26-zope212all/eggs/zope.tal-3.5.0-py2.6.egg/zope/tal/tests/test_talinterpreter.py", line 716, in compare
    program, macros = self._compile(INPUT)
  File "/home/stefan/autotest/temp/python26-zope212all/eggs/zope.tal-3.5.0-py2.6.egg/zope/tal/tests/test_talinterpreter.py", line 43, in _compile
    parser.parseString(source)
  File "/home/stefan/autotest/temp/python26-zope212all/eggs/zope.tal-3.5.0-py2.6.egg/zope/tal/htmltalparser.py", line 128, in parseString
    self.feed(data)
  File "/usr/local/python2.6/lib/python2.6/HTMLParser.py", line 108, in feed
    self.goahead(0)
  File "/usr/local/python2.6/lib/python2.6/HTMLParser.py", line 148, in goahead
    k = self.parse_starttag(i)
  File "/usr/local/python2.6/lib/python2.6/HTMLParser.py", line 249, in parse_starttag
    attrvalue = self.unescape(attrvalue)
  File "/usr/local/python2.6/lib/python2.6/HTMLParser.py", line 387, in unescape
    return re.sub(r"&(#?[xX]?(?:[0-9a-fA-F]+|\w{1,8}));", replaceEntities, s)
  File "/usr/local/python2.6/lib/python2.6/re.py", line 150, in sub
    return _compile(pattern, 0).sub(repl, string, count)
  File "/usr/local/python2.6/lib/python2.6/HTMLParser.py", line 372, in replaceEntities
    c = int(s)
ValueError: invalid literal for int() with base 10: '0a'

  Ran 5840 tests with 0 failures and 1 errors in 3 minutes 8.864 seconds.
Running zope.traversing.tests.layer.TraversingLayer tests:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Set up zope.traversing.tests.layer.TraversingLayer in 1.128 seconds.
  Ran 7 tests with 0 failures and 0 errors in 0.387 seconds.
Tearing down left over layers:
  Tear down zope.traversing.tests.layer.TraversingLayer in 0.007 seconds.
Total: 6714 tests, 0 failures, 1 errors in 3 minutes 52.141 seconds.

FAILED (errors=1) 


More information about the Zope-tests mailing list