diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-10-17 18:45:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-17 18:45:55 (GMT) |
commit | f0c2390a1f89541dabe8b81bb8be0348635e030a (patch) | |
tree | 4e362928d332b7924b0d3aae384457bb07f515ff /Lib/difflib.py | |
parent | c1e5343928b4e52cc91251fc8680ec3acc31e7a8 (diff) | |
download | cpython-f0c2390a1f89541dabe8b81bb8be0348635e030a.zip cpython-f0c2390a1f89541dabe8b81bb8be0348635e030a.tar.gz cpython-f0c2390a1f89541dabe8b81bb8be0348635e030a.tar.bz2 |
[3.12] gh-110995: Fix test_gdb check_usable_gdb() (GH-110998) (#111003)
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 920b3dfacad615c7bb9bd9a35774469f8809b453)
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Lib/difflib.py')
0 files changed, 0 insertions, 0 deletions