From: Victor Stinner Date: Wed, 1 Feb 2017 17:26:14 +0000 (+0100) Subject: Fix test_gdb.test_wrapper_call() on Python 2 X-Git-Tag: v3.7.0a1~1443 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=72268ae1c0f4bf4071c6e70bb6a332848a132d5d;p=python Fix test_gdb.test_wrapper_call() on Python 2 Issue #29367. On Python 2, __init__ name is render as u'__init__'. --- diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py index 681a1ee6cc..b7554d698c 100644 --- a/Lib/test/test_gdb.py +++ b/Lib/test/test_gdb.py @@ -862,8 +862,8 @@ id(42) # Verify with "py-bt": gdb_output = self.get_stack_trace(cmd, cmds_after_breakpoint=['break wrapper_call', 'continue', 'py-bt']) - self.assertIn("