#7745: admin_scripts tests use assertTrue, not there in Python 2.3
--------------------------------------------------------+-------------------
Reporter: Karen Tracey <[EMAIL PROTECTED]> | Owner: nobody
Status: new | Milestone:
Component: Unit test system | Version: SVN
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------------------------------+-------------------
Comment (by russellm):
The second part of this patch is problematic. Yes, the tests pass if you
move the import to the top of the page - that's because the datastructures
test isn't running any more :-)
The current setup relies upon the fact that the datastructures module has
a module docstring, which means there can't be any code preceeding the
docstring. There are a few other ways to restructure this test (using
imports or a __test__ variable), but I don't have a version of Python 2.3
on hand to validate these potential fixes.
--
Ticket URL: <http://code.djangoproject.com/ticket/7745#comment:3>
Django Code <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
-~----------~----~----~----~------~----~------~--~---