From: <fwi...@us...> - 2008-10-16 14:31:31
|
Revision: 5427 http://jython.svn.sourceforge.net/jython/?rev=5427&view=rev Author: fwierzbicki Date: 2008-10-16 14:31:14 +0000 (Thu, 16 Oct 2008) Log Message: ----------- Pretty much just a test for lists being disallowed as a key which is already in the unit tests. Removed Paths: ------------- trunk/jython/bugtests/test111.py Deleted: trunk/jython/bugtests/test111.py =================================================================== --- trunk/jython/bugtests/test111.py 2008-10-16 14:29:48 UTC (rev 5426) +++ trunk/jython/bugtests/test111.py 2008-10-16 14:31:14 UTC (rev 5427) @@ -1,16 +0,0 @@ -""" -Check id() contra cmp() -""" - -import support - -try: - a={[1,2]:3} - if not a.has_key([1,2]): - raise support.TestError("Lists hash inconsistently") -except TypeError, e: - pass -else: - raise support.TestError("Should raise a TypeError") - - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |