diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py index 33d7dc523a8..3db10b664ee 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]