Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit 95fae791206b20a807d94a55b7bd154b0721e401 1 parent fa1cc23
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/regressiontests/forms/widgets.py
View
2  tests/regressiontests/forms/widgets.py
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.