Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Adrian Holovaty authored June 16, 2008

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  tests/regressiontests/forms/widgets.py
2  tests/regressiontests/forms/widgets.py
@@ -719,7 +719,7 @@
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

0 notes on commit 95fae79

Please sign in to comment.
Something went wrong with that request. Please try again.