[Python-checkins] CVS: python/dist/src/Lib/test test_b1.py,1.28,1.29
Jeremy Hylton
python-dev@python.org
Wed, 03 Jan 2001 15:53:33 -0800
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv10768/Lib/test
Modified Files:
test_b1.py
Log Message:
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.
Index: test_b1.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_b1.py,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -r1.28 -r1.29
*** test_b1.py 2000/12/12 23:11:42 1.28
--- test_b1.py 2001/01/03 23:53:31 1.29
***************
*** 54,57 ****
--- 54,58 ----
y = D()
if not callable(y): raise TestFailed, 'callable(y)'
+ y()
print 'chr'