]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
suppress stderr output when checking gdb (closes #27969)
authorBenjamin Peterson <benjamin@python.org>
Tue, 6 Sep 2016 17:06:31 +0000 (10:06 -0700)
committerBenjamin Peterson <benjamin@python.org>
Tue, 6 Sep 2016 17:06:31 +0000 (10:06 -0700)
Lib/test/test_gdb.py

index 33d7dc523a88c16a273efb90a393decacef5da63..3db10b664eee2d521c271a3783744f63991e71e1 100644 (file)
@@ -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]