From 89068d94715e9915ebaa3d95f445a0b5e8ba5aca Mon Sep 17 00:00:00 2001 From: holger krekel Date: Mon, 18 Jan 2010 02:01:16 +0100 Subject: [PATCH] fix python2.4 issue --HG-- branch : trunk --- testing/test_outcome.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testing/test_outcome.py b/testing/test_outcome.py index e7dfe761a..08c0b9f7a 100644 --- 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