diff Lib/test/test_class.py @ 44021:ff5df1fc0fcc

Patch from Georg Brandl and me for #1493 Remove unbound method objects
author Christian Heimes <christian@cheimes.de>
date Sun, 25 Nov 2007 09:39:14 +0000
parents 4e6b4ba60c3b
children 7dd2c1746267
line wrap: on
line diff
--- a/Lib/test/test_class.py	Sun Nov 25 09:18:01 2007 +0000
+++ b/Lib/test/test_class.py	Sun Nov 25 09:39:14 2007 +0000
@@ -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():