diff options
author | Christian Heimes <christian@cheimes.de> | 2007-11-25 09:39:14 +0000 |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2007-11-25 09:39:14 +0000 |
commit | 4a22b5dee77b6a3439e4a09362586c390bbdef02 (patch) | |
tree | 670472c02e788fe4d027f7967fbbd8253e18cb5f /Lib/test/test_class.py | |
parent | 91c77301bf0246deabcdcd80bc7bedb169e2f964 (diff) | |
download | cpython-git-4a22b5dee77b6a3439e4a09362586c390bbdef02.tar.gz |
Patch from Georg Brandl and me for #1493
Remove unbound method objects
Diffstat (limited to 'Lib/test/test_class.py')
-rw-r--r-- | Lib/test/test_class.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_class.py b/Lib/test/test_class.py index 76b30a3898..ab44a4cb3c 100644 --- a/Lib/test/test_class.py +++ b/Lib/test/test_class.py @@ -552,7 +552,7 @@ class ClassTests(unittest.TestCase): 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(): |