# HG changeset patch
# User Leonardo Soto <leo.soto@gmail.com>
# Date 1213488481 14400
# Branch doj
# Node ID 4116f272a6a4381b2e69edd370de35f741cf9004
# Parent  2dc83fe0c303824b2c77437e17c6ea0a122b1cc6
Ignore exception detail for IndexError, where Jython provides a better message than CPython (includes the index which caused the error), so it is not going to be changed

diff -r 2dc83fe0c303 -r 4116f272a6a4 tests/regressiontests/forms/widgets.py
--- a/tests/regressiontests/forms/widgets.py	Fri Jun 13 00:18:32 2008 -0400
+++ b/tests/regressiontests/forms/widgets.py	Sat Jun 14 20:08:01 2008 -0400
@@ -719,7 +719,7 @@ False
 False
 >>> r[1].name, r[1].value, r[1].choice_value, r[1].choice_label
 ('beatle', u'J', u'P', u'Paul')
->>> r[10]
+>>> r[10] # doctest: +IGNORE_EXCEPTION_DETAIL
 Traceback (most recent call last):
 ...
 IndexError: list index out of range
