[Python-checkins] python/dist/src/Lib/test test_descr.py,1.113.4.26,1.113.4.27
nnorwitz@users.sourceforge.net
nnorwitz@users.sourceforge.net
Tue, 24 Dec 2002 07:26:57 -0800
Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv7523/Lib/test
Modified Files:
Tag: release22-maint
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.113.4.26
retrieving revision 1.113.4.27
diff -C2 -d -r1.113.4.26 -r1.113.4.27
*** test_descr.py 18 Oct 2002 16:45:39 -0000 1.113.4.26
--- test_descr.py 24 Dec 2002 15:26:55 -0000 1.113.4.27
***************
*** 2405,2408 ****
--- 2405,2412 ----
cant(object(), list)
cant(list(), object)
+ o = object()
+ cant(o, type(1))
+ cant(o, type(None))
+ del o
def setdict():