Patch from Georg Brandl and me for #1493
Remove unbound method objects
diff --git a/Lib/test/test_class.py b/Lib/test/test_class.py
index 76b30a3..ab44a4c 100644
--- a/Lib/test/test_class.py
+++ b/Lib/test/test_class.py
@@ -552,7 +552,7 @@
         self.assertEquals(hash(B.f), hash(A.f))
 
         # the following triggers a SystemError in 2.4
-        a = A(hash(A.f.im_func)^(-1))
+        a = A(hash(A.f)^(-1))
         hash(a.f)
 
 def test_main():