summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_gdb.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-05-05 18:30:22 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-05-05 18:30:22 (GMT)
commita045f191b4670bbf201d6d56a50886694c26da3e (patch)
tree04d7cd531baa2e5c8484578cc32b989b4c7ad949 /Lib/test/test_gdb.py
parentae4b472810e9f034c05acf836ade8dc47bd2b142 (diff)
downloadcpython-a045f191b4670bbf201d6d56a50886694c26da3e.zip
cpython-a045f191b4670bbf201d6d56a50886694c26da3e.tar.gz
cpython-a045f191b4670bbf201d6d56a50886694c26da3e.tar.bz2
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. ........
Diffstat (limited to 'Lib/test/test_gdb.py')
-rw-r--r--Lib/test/test_gdb.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py
index 4cff870..15d8034 100644
--- a/Lib/test/test_gdb.py
+++ b/Lib/test/test_gdb.py
@@ -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, '')