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: v2.7.13rc1~171 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=499378f0879ad625b47f0873616d5efd19b80901;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 fe98530c7140..8d3d772e1c13 100644 --- a/Lib/test/test_gdb.py +++ b/Lib/test/test_gdb.py @@ -24,6 +24,7 @@ def get_gdb_version(): try: proc = subprocess.Popen(["gdb", "-nx", "--version"], stdout=subprocess.PIPE, + stderr=subprocess.PIPE, universal_newlines=True) version = proc.communicate()[0] except OSError: