Patch from Georg Brandl and me for #1493
Remove unbound method objects
diff --git a/Lib/test/inspect_fodder2.py b/Lib/test/inspect_fodder2.py
index 7a9f84e..d244935 100644
--- a/Lib/test/inspect_fodder2.py
+++ b/Lib/test/inspect_fodder2.py
@@ -96,7 +96,7 @@
             "doc"
             return 42
     return X
-method_in_dynamic_class = f().g.im_func
+method_in_dynamic_class = f().g
 
 #line 101
 def keyworded(*arg1, arg2=1):