Christian Theune wrote:
> On 08/01/2009 01:35 AM, Godefroid Chapelle wrote:
>> Sidnei da Silva wrote:
>>> On Thu, Jul 30, 2009 at 9:33 PM, Martin Aspeli<optilude+li...@gmail.com>
>>>> Unfortunately, I've got other packages that depend on a newer
>>>> zope.testing (specifically, collective.testcaselayer). But I thought
>>>> zope.testing aimed to be able to run any "valid" tests, so it sounds
>>>> like a bug in zope.testing regardless, at least since every other test
>>>> I've run in the same instance work fine.
>>> The traceback you pasted shows an UnboundLocalError. What about
>>> looking at the source and figuring out why that local variable is not
>>> -- Sidnei
>> I bumped into the same bug while working on the same package...
>> I allowed myself to add the missing assignment.
>> However, I'd like someone to check over my shoulder.
>> Further, this bug is triggered by another one happening when running
>> tests with buildout in plone.z3cform current trunk (r102411).
>> The test runner is trying to spawn a subprocess with the --resume-layer
>> argument. However, the --resume-layer argument is not accepted by the
>> This produces an error in a format not foreseen by the error parser.
>> (which then triggered the UnboundLocalError).
>> It would be nice if someone with a better understanding of the
>> testrunner could take a look and understand why the --resume-layer stuff
>> happens. Christian ?
> Can you make a bug out of that? I won't be able to look at it for a
> while but I'd also not have it forgotten.
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -