holger krekel wrote:

> It makes py.test install as
> 
>     py.test        # if python executable has basename 'python'
>     py.test3       # if python executable has version_info >= (3,0)
>     py.test2.x     # if python executable has basename 'python2.x' (x in
> '4567') py.test-jython # if we are running on jython2.5 
>     py.test-pypy   # if we are running on pypy
> 
> does this make sense to you, objections?

I don't know how easy it will be to get this to work with
debian's python-setup (or for any other distributor).

> It does for me because 
> i can more easily run tests with various interpreters.

I think it is rather limited. If I want to know if my program has
interpreter dependant bugs I have to run all of the py.tests and compare
the outputs manually.

What is the advantage of "py.test3" over running "py.test --tx
popen//python3"? Maybe instead add a shortcut for the "--tx popen"s?
Like "py.test -i3,2.4,j,pypy" to run the tests with many different
interpreters one after each other.

--Adam

Attachment: signature.asc
Description: PGP signature

_______________________________________________
py-dev mailing list
py-dev@codespeak.net
http://codespeak.net/mailman/listinfo/py-dev

Reply via email to