From: Benjamin Peterson Date: Tue, 6 Sep 2016 17:06:31 +0000 (-0700) Subject: suppress stderr output when checking gdb (closes #27969) X-Git-Tag: v3.6.0b1~427^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cbef66d7111624381eba9c4cf734e4017f4d7c3f;p=thirdparty%2FPython%2Fcpython.git suppress stderr output when checking gdb (closes #27969) --- diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py index 33d7dc523a88..3db10b664eee 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]