Author: Maciej Fijalkowski <fij...@gmail.com>
Branch: 
Changeset: r64626:727e5e38dd75
Date: 2013-05-28 17:40 +0200
http://bitbucket.org/pypy/pypy/changeset/727e5e38dd75/

Log:    merge

diff --git a/pypy/module/pypyjit/test_pypy_c/test_bug.py 
b/pypy/module/pypyjit/test_pypy_c/test_bug.py
--- a/pypy/module/pypyjit/test_pypy_c/test_bug.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_bug.py
@@ -9,6 +9,7 @@
 
     cmdline = ['taskset', '-c', '0',
                sys.executable, os.path.join(localdir, 'bug1.py')]
-    popen = subprocess.Popen(cmdline)
+    popen = subprocess.Popen(cmdline, stderr=subprocess.PIPE)
+    errmsg = popen.stderr.read()
     err = popen.wait()
-    assert err == 0
+    assert err == 0, "err = %r, errmsg:\n%s" % (err, errmsg)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to