#12590: validators modeltest test fail under Python 2.4
-------------------------------+--------------------------------------------
Reporter: ramiro | Owner: nobody
Status: new | Milestone: 1.2
Component: Testing framework | Version: SVN
Keywords: | Stage: Unreviewed
Has_patch: 1 |
-------------------------------+--------------------------------------------
This is happening since the model validation merge (r12098) * and can be
seen in our buildbot: http://buildbot.djangoproject.com/builders/django-
trunk%20ubuntu9.10-py2.4-sqlite/builds/147/steps/test/logs/stdio
The reason seems to be that in Python 2.4 `isinstance(Exception, type)`
returns False and in python 2.5 it returns True,
the same applies to `ValidationError`.
* But these tests weren't being run until r12156.
--
Ticket URL: <http://code.djangoproject.com/ticket/12590>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.