[Zope-tests] FAILED (failures=1) : Zope-trunk-alltests Python-2.5.4 : Linux

Zope Tests zope-tests at epy.co.at
Sun Feb 8 21:01:53 EST 2009


Zope Tests : FAILED (failures=1) 
Zope-trunk-alltests Python-2.5.4 : Linux

Running /usr/local/python2.5/bin/python ./bin/alltests --all
Test-module import failures:

Module: RestrictedPython.tests.testRestrictions

Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python25-zope212all/eggs/RestrictedPython-3.4.3-py2.5.egg/RestrictedPython/tests/testRestrictions.py", line 560, in <module>
    create_rmodule()
  File "/home/stefan/autotest/temp/python25-zope212all/eggs/RestrictedPython-3.4.3-py2.5.egg/RestrictedPython/tests/testRestrictions.py", line 69, in create_rmodule
    compile(source, fn, 'exec')
  File "/home/stefan/autotest/temp/python25-zope212all/eggs/RestrictedPython-3.4.3-py2.5.egg/RestrictedPython/tests/restricted_module.py", line 1
    from __future__ import nested_scopes
                                       
^
SyntaxError: invalid syntax


Running OFS.tests.testCopySupportEvents.EventLayer tests:
  Set up OFS.tests.testCopySupportEvents.EventLayer in 0.470 seconds.
  Ran 14 tests with 0 failures and 0 errors in 0.223 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.807 seconds.
  Ran 14 tests with 0 failures and 0 errors in 0.175 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.
  Ran 632 tests with 0 failures and 0 errors in 29.254 seconds.
Running Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer tests:
  Set up Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer in 0.003 seconds.
  Ran 18 tests with 0 failures and 0 errors in 0.080 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 in 3.313 seconds.
  Ran 11 tests with 0 failures and 0 errors in 0.025 seconds.
Running zope.testbrowser.tests.TestBrowserLayer tests:
  Tear down zope.formlib.tests.FormlibLayer in 0.003 seconds.
  Set up zope.testbrowser.tests.TestBrowserLayer in 2.424 seconds.
  Ran 160 tests with 0 failures and 0 errors in 9.728 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down zope.testbrowser.tests.TestBrowserLayer in 0.004 seconds.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
/home/stefan/autotest/temp/python25-zope212all/src/DocumentTemplate/DT_Raise.py:63: DeprecationWarning: String exceptions are deprecated starting with Python 2.5 and will be removed in a future release
  t, v = upgradeException(t, v)
/home/stefan/autotest/temp/python25-zope212all/src/Zope2/App/tests/testExceptionHook.py:120: DeprecationWarning: raising a string exception is deprecated
  raise 'unauthorized', 'x'
/home/stefan/autotest/temp/python25-zope212all/src/Zope2/App/startup.py:186: DeprecationWarning: raising a string exception is deprecated
  raise
/home/stefan/autotest/temp/python25-zope212all/src/Zope2/App/tests/testExceptionHook.py:129: DeprecationWarning: raising a string exception is deprecated
  raise 'redirect', 'x'


Failure in test test_error_handling (zope.formlib.tests)
Failed doctest test for zope.formlib.tests.test_error_handling
  File "/home/stefan/autotest/temp/python25-zope212all/eggs/zope.formlib-3.5.1-py2.5.egg/zope/formlib/tests.py", line 286, in test_error_handling

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python25-zope212all/eggs/zope.formlib-3.5.1-py2.5.egg/zope/formlib/tests.py", line 329, in zope.formlib.tests.test_error_handling
Failed example:
    errors #doctest: +ELLIPSIS
Expected:
    [<zope.app.form.interfaces.WidgetInputError instance at ...>]
Got:
    [WidgetInputError('form.summary', 'summary', ValidationError('A error message'))]

  Ran 5794 tests with 1 failures and 0 errors in 3 minutes 7.361 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.118 seconds.
  Ran 7 tests with 0 failures and 0 errors in 0.530 seconds.
Tearing down left over layers:
  Tear down zope.traversing.tests.layer.TraversingLayer in 0.007 seconds.

Test-modules with import problems:
  RestrictedPython.tests.testRestrictions
Total: 6652 tests, 1 failures, 0 errors in 4 minutes 3.388 seconds.

FAILED (failures=1) 


More information about the Zope-tests mailing list