From 72268ae1c0f4bf4071c6e70bb6a332848a132d5d Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 1 Feb 2017 18:26:14 +0100 Subject: Fix test_gdb.test_wrapper_call() on Python 2 Issue #29367. On Python 2, __init__ name is render as u'__init__'. --- Lib/test/test_gdb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py index 681a1ee..b7554d6 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("