Merge 3.5 (issue #27829)

This commit is contained in:
Victor Stinner 2016-09-23 11:15:50 +02:00
commit 21c8c92422
1 changed files with 1 additions and 1 deletions

View File

@ -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()