mirror of https://github.com/python/cpython.git
![]() gh-110995: Fix test_gdb check_usable_gdb() (GH-110998)
Fix detection of gdb built without Python scripting support.
* check_usable_gdb() doesn't check gdb exit code when calling
run_gdb().
* Use shutil.which() to get the path to the gdb program.
(cherry picked from commit
|
||
---|---|---|
.. | ||
__init__.py | ||
gdb_sample.py | ||
test_backtrace.py | ||
test_cfunction.py | ||
test_cfunction_full.py | ||
test_misc.py | ||
test_pretty_print.py | ||
util.py |