Commit 5ab36611 authored by Jeremy Hylton's avatar Jeremy Hylton

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.
parent 5282044b
......@@ -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)'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment