Skip to content

Commit cbef66d

Browse files
committed
suppress stderr output when checking gdb (closes #27969)
1 parent c5c83d6 commit cbef66d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_gdb.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ def get_gdb_version():
2525
try:
2626
proc = subprocess.Popen(["gdb", "-nx", "--version"],
2727
stdout=subprocess.PIPE,
28+
stderr=subprocess.PIPE,
2829
universal_newlines=True)
2930
with proc:
3031
version = proc.communicate()[0]

0 commit comments

Comments
 (0)