[Zope-dev] zope-tests - FAILED: 17, OK: 91

Tres Seaver tseaver at palladion.com
Wed May 25 09:30:30 EDT 2011


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

>> [13]   FAILED  winbot / ztk_dev py_254_win32
>>        https://mail.zope.org/pipermail/zope-tests/2011-May/041891.html
> 
> 
>> [14]   FAILED  winbot / ztk_dev py_265_win32
>>        https://mail.zope.org/pipermail/zope-tests/2011-May/041892.html
> 
> 
>> [15]   FAILED  winbot / ztk_dev py_265_win64
>>        https://mail.zope.org/pipermail/zope-tests/2011-May/041894.html
> 
> 
>> [16]   FAILED  winbot / ztk_dev py_270_win32
>>        https://mail.zope.org/pipermail/zope-tests/2011-May/041895.html
> 
> 
>> [17]   FAILED  winbot / ztk_dev py_270_win64
>>        https://mail.zope.org/pipermail/zope-tests/2011-May/041897.html
> 
> These are all the same bug::
> 
> -------------------------- $< -------------------------
> Error in test testNoTargetLanguage
> (zope.app.i18n.tests.test_translationdomain.TestTranslationDomain)
> Traceback (most recent call last):
>   File "c:\Python27_64\lib\unittest\case.py", line 318, in run
>     testMethod()
>   File
> "c:\buildslave\ztk_dev_py_270_win64\build\src\zope.i18n\src\zope\i18n\tests\test_itranslationdomain.py",
> line 99, in testNoTargetLanguage
>     eq(translate('short_greeting', context=context, default=42), 42)
>   File
> "c:\buildslave\ztk_dev_py_270_win64\build\src\zope.app.i18n\src\zope\app\i18n\translationdomain.py",
> line 74, in translate
>     catalog_names = self._catalogs.get(target_language, [])
> TypeError: Object has default comparison
> -------------------------- $< -------------------------
> 
> WTF?  We have tests for zope.i18n which pull in code from zope.app.i18n?
> Not only that, but we have an error being raised from the OOBTree
> changes Jim landed in October, in a code base which hasn't changed since
> March.


We definitely have some kind of failed cleanup going on here:  the
standalone buildout for zope.i18n does *not* pull in zope.app.i18n, and
the tests all pass without it.


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.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3dBHYACgkQ+gerLs4ltQ50ogCeLxr+nWgvyCDAcOq5hwn7lpFF
x7YAn07BlqEGF5pz/KlbuS+49k8BTn/G
=hLii
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list