Skip to content

Commit

Permalink
Fixed #7456 -- Removed check of exact IndexError exception text in a …
Browse files Browse the repository at this point in the history
…unit test, for Jython compatibility. Thanks, leosoto

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7646 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
adrianholovaty committed Jun 16, 2008
1 parent fa1cc23 commit 95fae79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/regressiontests/forms/widgets.py
Expand Up @@ -719,7 +719,7 @@
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
Expand Down

0 comments on commit 95fae79

Please sign in to comment.