Fixed #7456 -- Removed check of exact IndexError exception text in a unit test, for Jython compatibility. Thanks, leosoto
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7646 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
fa1cc23df3
commit
95fae79120
|
@ -719,7 +719,7 @@ True
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue