]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix comment in test_gdb
authorNick Coghlan <ncoghlan@gmail.com>
Sun, 22 Sep 2013 09:38:16 +0000 (19:38 +1000)
committerNick Coghlan <ncoghlan@gmail.com>
Sun, 22 Sep 2013 09:38:16 +0000 (19:38 +1000)
Lib/test/test_gdb.py

index 6c3f467d15e67a7c2fc4808fe0d1e1f668cc2dc0..284c8d8fd98a6ce834fc1244cfea6f40d7061f50 100644 (file)
@@ -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: