zc.testbrowser.real depends on python 2.5

Paul Winkler <[email protected]> Tue, 23 Oct 2007 15:09:14 -0500
Newsgroups gmane.comp.web.zope.zope3
Message-ID <[email protected]>
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