summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_gdb.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-09-06 17:06:31 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-09-06 17:06:31 (GMT)
commitcbef66d7111624381eba9c4cf734e4017f4d7c3f (patch)
tree023873de6539bbbf98f035b1587240f6c3b61a58 /Lib/test/test_gdb.py
parentc5c83d6b7d6efa7af1e4f0398f855cc1cf84cc5f (diff)
downloadcpython-cbef66d7111624381eba9c4cf734e4017f4d7c3f.zip
cpython-cbef66d7111624381eba9c4cf734e4017f4d7c3f.tar.gz
cpython-cbef66d7111624381eba9c4cf734e4017f4d7c3f.tar.bz2
suppress stderr output when checking gdb (closes #27969)
Diffstat (limited to 'Lib/test/test_gdb.py')
-rw-r--r--Lib/test/test_gdb.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py
index 33d7dc5..3db10b6 100644
--- a/Lib/test/test_gdb.py
+++ b/Lib/test/test_gdb.py
@@ -25,6 +25,7 @@ def get_gdb_version():
try:
proc = subprocess.Popen(["gdb", "-nx", "--version"],
stdout=subprocess.PIPE,
+ stderr=subprocess.PIPE,
universal_newlines=True)
with proc:
version = proc.communicate()[0]