[py-dev] py.test3, py.test-jython, py.test-pypy ...

holger krekel holger at merlinux.eu
Sun Dec 20 22:48:52 CET 2009


Hi all, 

i just committed a change which i'd release together with a bunch
of other things as py-1.1.2.  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?  It does for me because 
i can more easily run tests with various interpreters.  But
it means if you run "python2.4 setup.py install" you will not
get a 'py.test2.4' only, and no 'py.test' proper. 

cheers,
holger



More information about the Pytest-dev mailing list