# 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
|
b
|
False
|
719 | 719 | False |
720 | 720 | >>> r[1].name, r[1].value, r[1].choice_value, r[1].choice_label |
721 | 721 | ('beatle', u'J', u'P', u'Paul') |
722 | | >>> r[10] |
| 722 | >>> r[10] # doctest: +IGNORE_EXCEPTION_DETAIL |
723 | 723 | Traceback (most recent call last): |
724 | 724 | ... |
725 | 725 | IndexError: list index out of range |