summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_gdb.py
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2013-09-22 09:38:16 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2013-09-22 09:38:16 (GMT)
commitce34687d23bb68df1270728372f04ac7c80f3caa (patch)
tree460b6243840663f22cb97e4e8a759546ee6c60c4 /Lib/test/test_gdb.py
parent31f477c7eb831f044c1628d6d9acf86f6881cead (diff)
downloadcpython-ce34687d23bb68df1270728372f04ac7c80f3caa.zip
cpython-ce34687d23bb68df1270728372f04ac7c80f3caa.tar.gz
cpython-ce34687d23bb68df1270728372f04ac7c80f3caa.tar.bz2
Fix comment in test_gdb
Diffstat (limited to 'Lib/test/test_gdb.py')
-rw-r--r--Lib/test/test_gdb.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py
index 6c3f467..284c8d8 100644
--- a/Lib/test/test_gdb.py
+++ b/Lib/test/test_gdb.py
@@ -63,7 +63,8 @@ gdbpy_version, _ = run_gdb("--eval-command=python import sys; print sys.version_
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: