Close issue #8600: test_gdb failures because innocuous warnings
diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py
index e033dcf..6d4fda1 100644
--- a/Lib/test/test_gdb.py
+++ b/Lib/test/test_gdb.py
@@ -125,6 +125,9 @@
                           " 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, '')