[Zope3-dev] zc.testbrowser.real depends on python 2.5

Paul Winkler pw_lists at slinkp.com
Tue Oct 23 16:09:14 EDT 2007


Looks like zc.testbrowser 1.0a1 has a small dependency on Python 2.5.
I got this error while playing with zc.testbrowser.real:

>>> 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


More information about the Zope3-dev mailing list