diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-05-05 18:29:02 +0000 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-05-05 18:29:02 +0000 |
commit | a8157183b89c08cf47c969185d40973ec21a81c5 (patch) | |
tree | 4e41c7d18f3b28e6e88b830466ee5f60d73db8c0 /Lib/test/test_gdb.py | |
parent | 7d93221a5c159ce506b2a557777d1a1751c7f743 (diff) | |
download | cpython-git-a8157183b89c08cf47c969185d40973ec21a81c5.tar.gz |
Issue #8600: fix test_gdb failures when gdb issues some spurious warnings.
Diffstat (limited to 'Lib/test/test_gdb.py')
-rw-r--r-- | Lib/test/test_gdb.py | 5 |
1 files changed, 5 insertions, 0 deletions
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, '') |