[Zope-dev] zope-tests - FAILED: 1, OK: 13

Tres Seaver tseaver at palladion.com
Sun Apr 6 02:33:21 CEST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/05/2014 07:00 PM, Zope tests summarizer wrote:
> [1]    FAILED  winbot / z3c.form_py_265_32 
> https://mail.zope.org/pipermail/zope-tests/2014-April/081639.html

On the winbot, where the default charset is ASCII, the doctest failure
can't render due to high-order characters:

 Failure in test c:\buildslave\z3c.form\build\src\z3c\form\browser\README.txt
Traceback (most recent call last):
  File "c:\buildslave\z3c.form\build\bin\test-script.py", line 71, in
<module>
    '--test-path', 'c:\\buildslave\\z3c.form\\build\\src',
  File
"c:\eggs\zope.testrunner-4.4.3-py2.6.egg\zope\testrunner\__init__.py",
line 27, in run
    failed = run_internal(defaults, args, script_parts=script_parts, cwd=cwd)
  File
"c:\eggs\zope.testrunner-4.4.3-py2.6.egg\zope\testrunner\__init__.py",
line 44, in run_internal
    runner.run()
  File
"c:\eggs\zope.testrunner-4.4.3-py2.6.egg\zope\testrunner\runner.py", line
160, in run
    self.run_tests()
  File
"c:\eggs\zope.testrunner-4.4.3-py2.6.egg\zope\testrunner\runner.py", line
242, in run_tests
    self.skipped, self.import_errors)
  File
"c:\eggs\zope.testrunner-4.4.3-py2.6.egg\zope\testrunner\runner.py", line
411, in run_layer
    import_errors)
  File
"c:\eggs\zope.testrunner-4.4.3-py2.6.egg\zope\testrunner\runner.py", line
331, in run_tests
    test(result)
  File "c:\Python26_32\lib\unittest.py", line 300, in __call__
    return self.run(*args, **kwds)
  File "c:\Python26_32\lib\unittest.py", line 282, in run
    result.addFailure(self, self._exc_info())
  File
"c:\eggs\zope.testrunner-4.4.3-py2.6.egg\zope\testrunner\runner.py", line
804, in addFailure
    exc_info)
  File
"c:\eggs\zope.testrunner-4.4.3-py2.6.egg\zope\testrunner\formatter.py",
line 348, in test_failure
    self.print_traceback("Failure in test %s" % test, exc_info)
  File
"c:\eggs\zope.testrunner-4.4.3-py2.6.egg\zope\testrunner\formatter.py",
line 355, in print_traceback
    print(self.format_traceback(exc_info))
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2192' in
position 863: ordinal not in range(128)

On my machine (UTF8), I get super-noisy doctest failures (which I'm not
set up to diagnse).  One, at least, is probably related to:

 https://github.com/zopefoundation/z3c.form/commit/c0cbac6f44f88c1434d0f72b953d087836ffef58



Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlNAoMoACgkQ+gerLs4ltQ5BlACghK24rWeoaK6AP66OrKS2R0IK
SZAAoJYaot2LUQQleJtkpy1gwZb4F4Xt
=AuIV
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list