]> granicus.if.org Git - python/commitdiff
Blocked revisions 79979 via svnmerge
authorAntoine Pitrou <solipsis@pitrou.net>
Sun, 11 Apr 2010 22:47:34 +0000 (22:47 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Sun, 11 Apr 2010 22:47:34 +0000 (22:47 +0000)
........
  r79979 | antoine.pitrou | 2010-04-12 00:45:47 +0200 (lun., 12 avril 2010) | 3 lines

  Fix misplaced items and incorrect title.
........

Lib/test/test_gdb.py

index 57e8aa00f45a5360c6a225e7188cddfdd18ef062..77cf94f91095a86150fbc8873f18faaa2a8c9960 100644 (file)
@@ -21,7 +21,7 @@ except OSError:
 gdb_version_number = re.search(b"^GNU gdb [^\d]*(\d+)\.", gdb_version)
 if int(gdb_version_number.group(1)) < 7:
     raise unittest.SkipTest("gdb versions before 7.0 didn't support python embedding"
-                            " Saw:\n" + gdb_version)
+                            " Saw:\n" + gdb_version.decode('ascii', 'replace'))
 
 # Verify that "gdb" was built with the embedded python support enabled:
 cmd = "--eval-command=python import sys; print sys.version_info"