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

antoine.pitrou python-checkins at python.org
Wed May 5 20:30:22 CEST 2010


Author: antoine.pitrou
Date: Wed May  5 20:30:22 2010
New Revision: 80803

Log:
Merged revisions 80802 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80802 | antoine.pitrou | 2010-05-05 20:29:02 +0200 (mer., 05 mai 2010) | 3 lines
  
  Issue #8600: fix test_gdb failures when gdb issues some spurious warnings.
........


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	Wed May  5 20:30:22 2010
@@ -121,6 +121,11 @@
 
         # Ignore some noise on stderr due to the pending breakpoint:
         err = err.replace('Function "%s" not defined.\n' % breakpoint, '')
+        # Ignore some other noise on stderr (http://bugs.python.org/issue8600)
+        err = err.replace("warning: Unable to find libthread_db matching"
+                          " inferior's thread library, thread debugging will"
+                          " not be available.\n",
+                          '')
 
         # Ensure no unexpected error messages:
         self.assertEquals(err, '')


More information about the Python-checkins mailing list