Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 710a67e + ce34687 commit df4cb12Copy full SHA for df4cb12
1 file changed
Lib/test/test_gdb.py
@@ -65,7 +65,8 @@ def run_gdb(*args, **env_vars):
65
if not gdbpy_version:
66
raise unittest.SkipTest("gdb not built with embedded python support")
67
68
-# 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
69
+# disallow this without a customised .gdbinit.
70
cmd = ['--args', sys.executable]
71
_, gdbpy_errors = run_gdb('--args', sys.executable)
72
if "auto-loading has been declined" in gdbpy_errors:
0 commit comments