summaryrefslogtreecommitdiffstats
path: root/Lib/test/inspect_fodder2.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/inspect_fodder2.py')
-rw-r--r--Lib/test/inspect_fodder2.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/Lib/test/inspect_fodder2.py b/Lib/test/inspect_fodder2.py
index e452235..ab1cd9f 100644
--- a/Lib/test/inspect_fodder2.py
+++ b/Lib/test/inspect_fodder2.py
@@ -110,6 +110,14 @@ def annotated(arg1: list):
def keyword_only_arg(*, arg):
pass
+@wrap(lambda: None)
+def func114():
+ return 115
+
+class ClassWithMethod:
+ def method(self):
+ pass
+
from functools import wraps
def decorator(func):
@@ -118,7 +126,7 @@ def decorator(func):
return 42
return fake
-#line 121
+#line 129
@decorator
def real():
return 20