From 5ab366119e5daef31e20d3826128a1d70b9ff83c Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Wed, 3 Jan 2001 23:53:31 +0000 Subject: Actually call the object with an __call__ method, instead of just checking if it is callable. This is the only place in the test suite where an __call__ method is called. --- Lib/test/test_b1.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_b1.py b/Lib/test/test_b1.py index 8adcbef..6e85453 100644 --- a/Lib/test/test_b1.py +++ b/Lib/test/test_b1.py @@ -53,6 +53,7 @@ class D(C): def __call__(self): pass y = D() if not callable(y): raise TestFailed, 'callable(y)' +y() print 'chr' if chr(32) != ' ': raise TestFailed, 'chr(32)' -- cgit v0.12