diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-11-23 16:40:36 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-11-23 16:40:36 (GMT) |
commit | b17d2aa552e0b2b5d17a036ad32aa59ddd59b2cc (patch) | |
tree | fd98b65e1d8995791d5bad6bca7eadbb06326a0e /Lib/test/test_gdb.py | |
parent | c17565e4a90a6b4c9e31edf5030030a365600db6 (diff) | |
download | cpython-b17d2aa552e0b2b5d17a036ad32aa59ddd59b2cc.zip cpython-b17d2aa552e0b2b5d17a036ad32aa59ddd59b2cc.tar.gz cpython-b17d2aa552e0b2b5d17a036ad32aa59ddd59b2cc.tar.bz2 |
Issue #19308: fix the gdb plugin on gdbs linked with Python 3
Diffstat (limited to 'Lib/test/test_gdb.py')
-rw-r--r-- | Lib/test/test_gdb.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py index 284c8d8..981f1b1 100644 --- a/Lib/test/test_gdb.py +++ b/Lib/test/test_gdb.py @@ -59,7 +59,7 @@ def run_gdb(*args, **env_vars): 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") |