[Python-checkins] cpython (3.5): suppress stderr output when checking gdb (closes #27969)
benjamin.peterson
python-checkins at python.org
Tue Sep 6 13:07:46 EDT 2016
https://hg.python.org/cpython/rev/2c4359ff4d6d
changeset: 103119:2c4359ff4d6d
branch: 3.5
parent: 103110:b442744d2d22
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
@@ -25,6 +25,7 @@
try:
proc = subprocess.Popen(["gdb", "-nx", "--version"],
stdout=subprocess.PIPE,
+ stderr=subprocess.PIPE,
universal_newlines=True)
with proc:
version = proc.communicate()[0]
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list