diff -r 314eeb71b161 Lib/test/test_gdb.py --- a/Lib/test/test_gdb.py Mon Dec 14 00:22:10 2015 +0100 +++ b/Lib/test/test_gdb.py Tue Dec 15 21:39:03 2015 +0100 @@ -173,6 +173,7 @@ class DebuggerTests(unittest.TestCase): args = ['--eval-command=%s' % cmd for cmd in commands] args += ["--args", sys.executable] + args.extend(subprocess._args_from_interpreter_flags()) if not import_site: # -S suppresses the default 'import site'