From: Antoine Pitrou Date: Wed, 5 May 2010 18:29:02 +0000 (+0000) Subject: Issue #8600: fix test_gdb failures when gdb issues some spurious warnings. X-Git-Tag: v2.7b2~77 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a8157183b89c08cf47c969185d40973ec21a81c5;p=python Issue #8600: fix test_gdb failures when gdb issues some spurious warnings. --- diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py index 907d6ef7c0..388f24059e 100644 --- a/Lib/test/test_gdb.py +++ b/Lib/test/test_gdb.py @@ -119,6 +119,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, '')