[Python-checkins] cpython (2.7): suppress stderr output when checking gdb (closes #27969)

benjamin.peterson python-checkins at python.org
Tue Sep 6 13:07:05 EDT 2016


https://hg.python.org/cpython/rev/5e75bf8e5526
changeset: 103118:5e75bf8e5526
branch: 2.7
user: Benjamin Peterson <benjamin at python.org>
date: Tue Sep 06 10:06:31 2016 -0700
summary:
 suppress stderr output when checking gdb (closes #27969)
files:
 Lib/test/test_gdb.py | 1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py
--- a/Lib/test/test_gdb.py
+++ b/Lib/test/test_gdb.py
@@ -24,6 +24,7 @@
 try:
 proc = subprocess.Popen(["gdb", "-nx", "--version"],
 stdout=subprocess.PIPE,
+ stderr=subprocess.PIPE,
 universal_newlines=True)
 version = proc.communicate()[0]
 except OSError:
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /