From: Finn B. <bc...@us...> - 2001-08-11 10:28:26
|
Update of /cvsroot/jython/bugtests In directory usw-pr-cvs1:/tmp/cvs-serv22800 Added Files: test316.py Log Message: [ #449316 ] ArrayList()[0] should raise IndexError --- NEW FILE: test316.py --- """ [ #449316 ] ArrayList()[0] should raise IndexError """ import support from java.util import ArrayList al = ArrayList() try: foo = al[0] except KeyError: pass else: raise support.TestError("Should raise a KeyError") |