Discussion:
[Zope3-dev] zc.testbrowser.real depends on python 2.5
Paul Winkler
2007-10-23 21:09:16 UTC
Permalink
Looks like zc.testbrowser 1.0a1 has a small dependency on Python 2.5.
browser.getForm(id='oc-login-form')
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/home/pw/tbtest/lib/python2.4/zc.testbrowser-1.0a1-py2.4.egg/zc/testbrowser/real.py", line 315, in getForm
if index is None and not any([id, name, action]):
NameError: global name 'any' is not defined

This is easy to hack around, but it's probably worth documenting the
dependency...
--
Paul Winkler
Benji York
2007-10-23 21:14:51 UTC
Permalink
Post by Paul Winkler
Looks like zc.testbrowser 1.0a1 has a small dependency on Python 2.5.
NameError: global name 'any' is not defined
Actually, it's a function that is defined in zope.testbrowser and was
lost in translation to zc.testbrowser.
--
Benji York
Senior Software Engineer
Zope Corporation
Loading...