diff --git a/Lib/test/test_scope.py b/Lib/test/test_scope.py index 3bb1fdd4d4f..dde169a05d5 100644 --- a/Lib/test/test_scope.py +++ b/Lib/test/test_scope.py @@ -461,8 +461,7 @@ def adaptgetter(name, klass, getter): kind, des = getter if kind == 1: # AV happens when stepping from this line to next if des == "": -## des = "_%s__%s" % (klass.__name__, name) - des = "1" + des = "_%s__%s" % (klass.__name__, name) return lambda obj: getattr(obj, des) class TestClass: