diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py index 8bd6797eb03..624e3d3db05 100644 --- a/Lib/test/test_gdb.py +++ b/Lib/test/test_gdb.py @@ -65,7 +65,8 @@ def run_gdb(*args, **env_vars): if not gdbpy_version: 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] _, gdbpy_errors = run_gdb('--args', sys.executable) if "auto-loading has been declined" in gdbpy_errors: