[py-svn] py-trunk commit 83ddfaf24fff: fix python2.4 issue
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Mon Jan 18 02:08:13 CET 2010
# HG changeset patch -- Bitbucket.org
# Project py-trunk
# URL http://bitbucket.org/hpk42/py-trunk/overview/
# User holger krekel <holger at merlinux.eu>
# Date 1263776476 -3600
# Node ID 83ddfaf24fffa02be51c7a749ad2866b90a94a07
# Parent 7b9a4fa15994011c40abb523311b20dc0777075c
fix python2.4 issue
--- a/testing/test_outcome.py
+++ b/testing/test_outcome.py
@@ -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
More information about the pytest-commit
mailing list