diff options
Diffstat (limited to 'Lib/test/test_descrtut.py')
-rw-r--r-- | Lib/test/test_descrtut.py | 4 |
1 files changed, 1 insertions, 3 deletions
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 @@ Backwards incompatibilities ... 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): |