mirror of https://github.com/python/cpython
Issue #8600: fix test_gdb failures when gdb issues some spurious warnings.
This commit is contained in:
parent
7d93221a5c
commit
a8157183b8
|
@ -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, '')
|
||||
|
|
Loading…
Reference in New Issue