commit | 4a22b5dee77b6a3439e4a09362586c390bbdef02 | [log] [tgz] |
---|---|---|
author | Christian Heimes <christian@cheimes.de> | Sun Nov 25 09:39:14 2007 +0000 |
committer | Christian Heimes <christian@cheimes.de> | Sun Nov 25 09:39:14 2007 +0000 |
tree | 670472c02e788fe4d027f7967fbbd8253e18cb5f | |
parent | 91c77301bf0246deabcdcd80bc7bedb169e2f964 [diff] [blame] |
Patch from Georg Brandl and me for #1493 Remove unbound method objects
diff --git a/Lib/test/test_descrtut.py b/Lib/test/test_descrtut.py index ea75366..5ce2119 100644 --- a/Lib/test/test_descrtut.py +++ b/Lib/test/test_descrtut.py
@@ -444,9 +444,7 @@ ... B.foo(self) >>> C().foo() -Traceback (most recent call last): - ... -TypeError: unbound method foo() must be called with B instance as first argument (got C instance instead) +called A.foo() >>> class C(A): ... def foo(self):