diff -r 4cdb9f04494b Lib/test/test_gdb.py --- a/Lib/test/test_gdb.py Sun Oct 20 20:31:43 2013 +0200 +++ b/Lib/test/test_gdb.py Sun Oct 20 18:27:54 2013 -0700 @@ -61,7 +61,7 @@ return out.decode('utf-8', 'replace'), err.decode('utf-8', 'replace') # Verify that "gdb" was built with the embedded python support enabled: -gdbpy_version, _ = run_gdb("--eval-command=python import sys; print sys.version_info") +gdbpy_version, _ = run_gdb("--eval-command=python import sys; print(sys.version_info)") if not gdbpy_version: raise unittest.SkipTest("gdb not built with embedded python support")