summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-09-23 09:15:50 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-09-23 09:15:50 (GMT)
commit21c8c9242257c7aefe9fec6728d532f9ef0e64ad (patch)
tree309de72972303c8275b5facb61151497a4b4a5b6 /Lib
parent7b7228a709097e7fa5e7fdbf204f128d249223e9 (diff)
parentbd2ffa502212bedfdeeda1a05b3a23246e085495 (diff)
downloadcpython-21c8c9242257c7aefe9fec6728d532f9ef0e64ad.zip
cpython-21c8c9242257c7aefe9fec6728d532f9ef0e64ad.tar.gz
cpython-21c8c9242257c7aefe9fec6728d532f9ef0e64ad.tar.bz2
Merge 3.5 (issue #27829)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/libregrtest/runtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/libregrtest/runtest.py b/Lib/test/libregrtest/runtest.py
index 7d5290e..6282543 100644
--- a/Lib/test/libregrtest/runtest.py
+++ b/Lib/test/libregrtest/runtest.py
@@ -117,7 +117,7 @@ def runtest(ns, test):
sys.stdout = stream
sys.stderr = stream
result = runtest_inner(ns, test, display_failure=False)
- if result[0] == FAILED:
+ if result[0] != PASSED:
output = stream.getvalue()
orig_stderr.write(output)
orig_stderr.flush()