[py-dev] problem with py.test --exec switch

Stephan Diehl stephan.diehl at gmx.net
Tue Mar 18 11:38:56 CET 2008


Hi,

problem: I want to run pypy/lib/app_test/test_stackless.py.
It runs fine, if I just do a
py.test test_stackless.py 
(this runs the stackless tests on top of CPython with the help of greenlets)
But if I try to use another python interpreter with, for example (stackless is 
my stackless interpreter; could be pypy-c instead, whatever really):
py.test --exec=stackless test_stackless.py
It hangs in the 'test_send_counter'.
This really seems to be a problem with the '--exec', because if I do a
stackless /my/path/to/py.test test_stackless.py
I see no problems.
Are there any obvious entry points to look at? (py.test does has it's 'magic' 
moments)

Thanks

Stephan



More information about the Pytest-dev mailing list