]> granicus.if.org Git - python/commitdiff
Merged revisions 80802 via svnmerge from
authorAntoine Pitrou <solipsis@pitrou.net>
Wed, 5 May 2010 18:30:22 +0000 (18:30 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Wed, 5 May 2010 18:30:22 +0000 (18:30 +0000)
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.
........

Lib/test/test_gdb.py

index 4cff8702ce904c993a88b0928b16486618409a60..15d8034c172200f810f38a4b7791d60d3c92136b 100644 (file)
@@ -121,6 +121,11 @@ class DebuggerTests(unittest.TestCase):
 
         # 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, '')