You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Stefan Sperling <st...@elego.de> on 2011/05/23 19:55:12 UTC

Re: Using the Wimp decorator in the Python tests

On Mon, Mar 14, 2011 at 01:22:39PM +0000, Philip Martin wrote:
> I don't see any of the Python tests using @Wimp.  How is it used?
> 
> @Wimp
> @Wimp()
> 
> TypeError: __init__() got an unexpected keyword argument 'issues'
> 
> @Wimp('string')
> 
> TypeError: __init__() takes at least 3 arguments (2 given)
> 
> Looking at testcase.py the Wimp functions is different from the other
> decorators.  Does it work at all?

Bumping this thread because I just ran into the same problem.

Re: Using the Wimp decorator in the Python tests

Posted by Hyrum K Wright <hy...@hyrumwright.org>.
On Mon, May 23, 2011 at 10:55 AM, Stefan Sperling <st...@elego.de> wrote:

> On Mon, Mar 14, 2011 at 01:22:39PM +0000, Philip Martin wrote:
> > I don't see any of the Python tests using @Wimp.  How is it used?
> >
> > @Wimp
> > @Wimp()
> >
> > TypeError: __init__() got an unexpected keyword argument 'issues'
> >
> > @Wimp('string')
> >
> > TypeError: __init__() takes at least 3 arguments (2 given)
> >
> > Looking at testcase.py the Wimp functions is different from the other
> > decorators.  Does it work at all?
>
> Bumping this thread because I just ran into the same problem.
>
r1126653 should fix this problem, methinks.  Let me know if you have other
problems with it.

-Hyrum