#12590 closed (fixed)
validators modeltest test fail under Python 2.4
Reported by: | Ramiro Morales | Owned by: | nobody |
---|---|---|---|
Component: | Testing framework | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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.
Attachments (1)
Change History (3)
by , 15 years ago
Attachment: | 12590.diff added |
---|
comment:1 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
One way to fix this issue.