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 | e50240c504779e6fc3a988da44d16dc84e263e07 (patch) | |
tree | fd46870c42add6fe6991acd946432c45582de6a3 /Lib/test/test_gdb.py | |
parent | 5bef4104717ba30ac301c63b249830841a08af29 (diff) | |
download | cpython-e50240c504779e6fc3a988da44d16dc84e263e07.zip cpython-e50240c504779e6fc3a988da44d16dc84e263e07.tar.gz cpython-e50240c504779e6fc3a988da44d16dc84e263e07.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 2cd17de..c791cb0 100644 --- a/Lib/test/test_gdb.py +++ b/Lib/test/test_gdb.py @@ -63,7 +63,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") |