Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c70d2d commit 6a45e9dCopy full SHA for 6a45e9d
1 file changed
Lib/test/test_gdb.py
@@ -21,7 +21,7 @@
21
gdb_version_number = re.search(b"^GNU gdb [^\d]*(\d+)\.", gdb_version)
22
if int(gdb_version_number.group(1)) < 7:
23
raise unittest.SkipTest("gdb versions before 7.0 didn't support python embedding"
24
- " Saw:\n" + gdb_version)
+ " Saw:\n" + gdb_version.decode('ascii', 'replace'))
25
26
# Verify that "gdb" was built with the embedded python support enabled:
27
cmd = "--eval-command=python import sys; print sys.version_info"
0 commit comments