[Python-checkins] python/dist/src/Lib/test test_descr.py,1.170,1.171
nnorwitz@users.sourceforge.net
nnorwitz@users.sourceforge.net
2002年12月24日 07:26:44 -0800
Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv7452/Lib/test
Modified Files:
test_descr.py
Log Message:
Add test for SF #658106. Will backport.
Index: test_descr.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_descr.py,v
retrieving revision 1.170
retrieving revision 1.171
diff -C2 -d -r1.170 -r1.171
*** test_descr.py 13 Dec 2002 17:49:38 -0000 1.170
--- test_descr.py 24 Dec 2002 15:26:42 -0000 1.171
***************
*** 2626,2629 ****
--- 2626,2633 ----
cant(True, int)
cant(2, bool)
+ o = object()
+ cant(o, type(1))
+ cant(o, type(None))
+ del o
def setdict():