Hello,

line 545 of zope\app\container\contained.py contains a testcase
">>> setitem(container, container.__setitem__, 'hello ' + chr(200), item)"
which should give back a traceback:
"    Traceback (most recent call last):
    ...
    TypeError: name not unicode or ascii string
"
but the name parameter is correct:
"
>>> max=unicode('hello ' + chr(200))
>>> max
u'hello \xc8'
>>>
"
So the unit tests give a failure:
"
----------------------------------------------------------------------
File "C:\ZopeSubversion\Z3_SSH-2\src\zope\app\container\contained.py", line 545,
 in zope.app.container.contained.setitem
Failed example:
    setitem(container, container.__setitem__, 'hello ' + chr(200), item)
Expected:
    Traceback (most recent call last):
    ...
    TypeError: name not unicode or ascii string
Got nothing
"
What should be done?

Regards,

Egon

_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to