torsava / rpms / python3

Forked from rpms/python3 6 years ago
Clone
b218f78
--- Lib/test/test_gdb.py.old	2012-04-11 19:35:13.512681203 -0400
b218f78
+++ Lib/test/test_gdb.py	2012-04-11 19:39:52.567192540 -0400
b218f78
@@ -159,7 +159,7 @@ class DebuggerTests(unittest.TestCase):
b218f78
         # gdb can insert additional '\n' and space characters in various places
b218f78
         # in its output, depending on the width of the terminal it's connected
b218f78
         # to (using its "wrap_here" function)
b218f78
-        m = re.match('.*#0\s+builtin_id\s+\(self\=.*,\s+v=\s*(.*?)\)\s+at\s+Python/bltinmodule.c.*',
b218f78
+        m = re.match('.*#0\s+builtin_id\s+\(self\=.*,\s+v=\s*(.*?)\)\s+at\s+\S*Python/bltinmodule.c.*',
b218f78
                      gdb_output, re.DOTALL)
b218f78
         if not m:
b218f78
             self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output))