[Python-checkins] cpython (2.7): Close issue #8600: test_gdb failures because innocuous warnings

jesus.cea python-checkins at python.org
Wed Mar 16 01:25:46 CET 2011


http://hg.python.org/cpython/rev/93053ce76075
changeset:   68577:93053ce76075
branch:      2.7
parent:      68564:43ccd051ec6c
user:        Jesus Cea <jcea at jcea.es>
date:        Wed Mar 16 01:19:49 2011 +0100
summary:
  Close issue #8600: test_gdb failures because innocuous warnings

files:
  Lib/test/test_gdb.py

diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py
--- 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, '')

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list