opensubscriber
   Find in this group all groups
 
Unknown more information…

z : zope3-dev@zope.org 24 October 2007 • 4:09AM -0400

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

REPLY TO AUTHOR
 
REPLY TO GROUP




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
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope...
Unsub: http://mail.zope.org/mailman/options/zope3-dev/subscriber%40opensubscriber.com

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.