[py-dev] Does each test method get called with a new instance?
David Ripton
dripton at ripton.net
Fri Apr 8 16:20:47 CEST 2005
On 2005.04.08 09:48:29 +0000, Armin Rigo wrote:
> On Fri, Apr 08, 2005 at 09:20:42AM +0100, Michael Hudson wrote:
> > > shouldn't be any grunt work either -- a unittest_to_pytest script would
> > > be nice to have, even if it wasn't 100% perfect.)
> >
> > Err, we have one of these already, for PyPy. I don't know if it's
> > generally useful, though.
>
> http://codespeak.net/svn/pypy/dist/pypy/tool/utestconvert.py
Thanks for the pointer.
> I think that apart from 5 lines for extra conversion cases specific to PyPy,
> the tool is pretty much general and should be available somewhere with the py
> lib.
If it's not, 5 people will reinvent it. :->
--
David Ripton dripton at ripton.net
More information about the Pytest-dev
mailing list