fix python2.4 issue

--HG--
branch : trunk
This commit is contained in:
holger krekel 2010-01-18 02:01:16 +01:00
parent d483f18374
commit 89068d9471
1 changed files with 2 additions and 1 deletions

View File

@ -68,4 +68,5 @@ def test_pytest_cmdline_main(testdir):
py.test.cmdline.main([__file__])
""" % (str(py._pydir.dirpath())))
import subprocess
subprocess.check_call([sys.executable, str(p)])
ret = subprocess.call([sys.executable, str(p)])
assert ret == 0