mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Fix comment in test_gdb
This commit is contained in:
parent
31f477c7eb
commit
ce34687d23
1 changed files with 2 additions and 1 deletions
|
@ -63,7 +63,8 @@ gdbpy_version, _ = run_gdb("--eval-command=python import sys; print sys.version_
|
||||||
if not gdbpy_version:
|
if not gdbpy_version:
|
||||||
raise unittest.SkipTest("gdb not built with embedded python support")
|
raise unittest.SkipTest("gdb not built with embedded python support")
|
||||||
|
|
||||||
# Verify that "gdb" can load our custom hooks. In theory this should never fail.
|
# Verify that "gdb" can load our custom hooks, as OS security settings may
|
||||||
|
# disallow this without a customised .gdbinit.
|
||||||
cmd = ['--args', sys.executable]
|
cmd = ['--args', sys.executable]
|
||||||
_, gdbpy_errors = run_gdb('--args', sys.executable)
|
_, gdbpy_errors = run_gdb('--args', sys.executable)
|
||||||
if "auto-loading has been declined" in gdbpy_errors:
|
if "auto-loading has been declined" in gdbpy_errors:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue