[Zope-tests] FAILED (failures=2) : Zope-2.8 Python-2.4.4 : Linux

Zope Unit Tests zope-tests at epy.co.at
Thu Nov 16 21:35:48 EST 2006


Zope Unit Tests : FAILED (failures=2)
Zope-2.8 Python-2.4.4 : Linux

Running /usr/local/python2.4/bin/python test.py --all
======================================================================
FAIL: Doctest: zope.app.form.browser.textwidgets.TextAreaWidget
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope28/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.form.browser.textwidgets.TextAreaWidget
  File "/home/stefan/autotest/temp/python24-zope28/lib/python/zope/app/form/browser/textwidgets.py", line 195, in TextAreaWidget

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope28/lib/python/zope/app/form/browser/textwidgets.py", line 222, in zope.app.form.browser.textwidgets.TextAreaWidget
Failed example:
    print normalize( widget.hidden() )
Expected:
    <input
      class="hiddenType"
      id="field.foo"
      name="field.foo"
      type="hidden"
      value="Hello
    world!"
      />
Got:
    <input
      class="hiddenType"
      id="field.foo"
      name="field.foo"
      type="hidden"
      value="Hello&#13;&#10;world!"
      />


======================================================================
FAIL: Doctest: zope.app.rotterdam.editingwidgets.SimpleEditingWidget
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope28/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.rotterdam.editingwidgets.SimpleEditingWidget
  File "/home/stefan/autotest/temp/python24-zope28/lib/python/zope/app/rotterdam/editingwidgets.py", line 24, in SimpleEditingWidget

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope28/lib/python/zope/app/rotterdam/editingwidgets.py", line 53, in zope.app.rotterdam.editingwidgets.SimpleEditingWidget
Failed example:
    print normalize( widget.hidden() )
Expected:
    <input
      class="hiddenType"
      id="field.foo"
      name="field.foo"
      type="hidden"
      value="Hello
    world!"
      />
Got:
    <input
      class="hiddenType"
      id="field.foo"
      name="field.foo"
      type="hidden"
      value="Hello&#13;&#10;world!"
      />


----------------------------------------------------------------------
Ran 6266 tests in 764.205s

FAILED (failures=2)
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/local/python2.4/lib/python2.4/logging/__init__.py", line 1332, in shutdown
    h.flush()
  File "/usr/local/python2.4/lib/python2.4/logging/__init__.py", line 718, in flush
    self.stream.flush()
ValueError: I/O operation on closed file
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/local/python2.4/lib/python2.4/logging/__init__.py", line 1332, in shutdown
    h.flush()
  File "/usr/local/python2.4/lib/python2.4/logging/__init__.py", line 718, in flush
    self.stream.flush()
ValueError: I/O operation on closed file


More information about the Zope-tests mailing list