diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-10-17 18:43:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-17 18:43:46 (GMT) |
commit | 73ebe2f881ac2ffb4d3d23b8693213fea53357e9 (patch) | |
tree | 92b7063af51f3c02a5cc5bba0c289c612414040a /Lib/test/test_exceptions.py | |
parent | f58bcee53a9ef542d44c2898d743362f3f96dc53 (diff) | |
download | cpython-73ebe2f881ac2ffb4d3d23b8693213fea53357e9.zip cpython-73ebe2f881ac2ffb4d3d23b8693213fea53357e9.tar.gz cpython-73ebe2f881ac2ffb4d3d23b8693213fea53357e9.tar.bz2 |
[3.11] gh-110995: Fix test_gdb check_usable_gdb() (GH-110998) (#111004)
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/test/test_exceptions.py')
0 files changed, 0 insertions, 0 deletions