]> granicus.if.org Git - python/commitdiff
Close issue #8600: test_gdb failures because innocuous warnings
authorJesus Cea <jcea@jcea.es>
Wed, 16 Mar 2011 00:33:16 +0000 (01:33 +0100)
committerJesus Cea <jcea@jcea.es>
Wed, 16 Mar 2011 00:33:16 +0000 (01:33 +0100)
Lib/test/test_gdb.py

index 5127a6fc52736c8302e7234dd4f5652f3e3e9bdf..17b44ea354dc9478637ada4dec6f323659d28564 100644 (file)
@@ -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, '')