From: Jesus Cea <jcea@jcea.es>
Date: Wed, 16 Mar 2011 00:33:16 +0000 (+0100)
Subject: Close issue #8600: test_gdb failures because innocuous warnings
X-Git-Tag: v3.2.1b1~282^2
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cee36555683b4fa47c335beb6dfc2b487ad6af86;p=python

Close issue #8600: test_gdb failures because innocuous warnings
---

diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py
index 5127a6fc52..17b44ea354 100644
--- a/Lib/test/test_gdb.py
+++ b/Lib/test/test_gdb.py
@@ -127,6 +127,9 @@ class DebuggerTests(unittest.TestCase):
                           " inferior's thread library, thread debugging will"
                           " not be available.\n",
                           '')
+        err = err.replace("warning: Cannot initialize thread debugging"
+                          " library: Debugger service failed\n",
+                          '')
 
         # Ensure no unexpected error messages:
         self.assertEqual(err, '')