Skip to content

Commit

Permalink
Fix comment in test_gdb
Browse files Browse the repository at this point in the history
  • Loading branch information
ncoghlan committed Sep 22, 2013
1 parent d21db3c commit d4dfba9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Lib/test/test_gdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,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:
Expand Down

0 comments on commit d4dfba9

Please sign in to comment.