From 611083331d534481ca7956a376e38fb0e9ef3854 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 1 Feb 2017 16:29:54 +0100 Subject: python-gdb.py supports method-wrapper Issue #29367: python-gdb.py now supports also method-wrapper (wrapperobject) objects. --- Lib/test/test_gdb.py | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'Lib/test/test_gdb.py') diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py index 557591f76c..247c3adeec 100644 --- a/Lib/test/test_gdb.py +++ b/Lib/test/test_gdb.py @@ -3,13 +3,14 @@ # The code for testing gdb was adapted from similar work in Unladen Swallow's # Lib/test/test_jit_gdb.py +import locale import os import re import subprocess import sys import sysconfig +import textwrap import unittest -import locale # Is this Python configured to support threads? try: @@ -847,6 +848,24 @@ id(42) ) self.assertIn('#1