Add test for SF #658106. Will backport.

This commit is contained in:
Neal Norwitz 2002-12-24 15:26:42 +00:00
parent c7d8c68c65
commit 78ce6b10ed

View File

@ -2625,6 +2625,10 @@ def setclass():
cant(Int(), int)
cant(True, int)
cant(2, bool)
o = object()
cant(o, type(1))
cant(o, type(None))
del o
def setdict():
if verbose: print "Testing __dict__ assignment..."