summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-09-23 11:16:32 +0200
committerVictor Stinner <victor.stinner@gmail.com>2016-09-23 11:16:32 +0200
commit8418a5c4d9877232461b08091b9f43d96a3d5417 (patch)
tree70df9fac3473c3487cd035ed83d444c7fdda20ce
parent6488ffb1247fd3b993857f62ea324fa274b1b087 (diff)
parent9fe89957e9a70ac5032fa9fcd441f1f0bd8848de (diff)
downloadcpython-8418a5c4d9877232461b08091b9f43d96a3d5417.tar.gz
Merge 3.6 (issue #27829)
-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 7d5290e0c7..6282543dc1 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()