validators modeltest test fail under Python 2.4
|Reported by:||ramiro||Owned by:||nobody|
|Has patch:||yes||Needs documentation:|
|Needs tests:||Patch needs improvement:|
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.