[Python-checkins] r79980 - in python/branches/py3k: Lib/test/test_gdb.py

antoine.pitrou python-checkins at python.org
Mon Apr 12 00:47:34 CEST 2010


Author: antoine.pitrou
Date: Mon Apr 12 00:47:34 2010
New Revision: 79980

Log:
Blocked revisions 79979 via svnmerge

........
  r79979 | antoine.pitrou | 2010-04-12 00:45:47 +0200 (lun., 12 avril 2010) | 3 lines
  
  Fix misplaced items and incorrect title.
........


Modified:
   python/branches/py3k/   (props changed)
   python/branches/py3k/Lib/test/test_gdb.py

Modified: python/branches/py3k/Lib/test/test_gdb.py
==============================================================================
--- python/branches/py3k/Lib/test/test_gdb.py	(original)
+++ python/branches/py3k/Lib/test/test_gdb.py	Mon Apr 12 00:47:34 2010
@@ -21,7 +21,7 @@
 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"


More information about the Python-checkins mailing list