#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 Karen Tracey <[EMAIL PROTECTED]>):
Replying to [comment:3 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 :-)
Ha! Oops.
>
> 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.
Feel free to send me potential fixes and I can test them for you, since I
went and got 2.3 for one of my boxes specifically to test Django on 2.3.
--
Ticket URL: <http://code.djangoproject.com/ticket/7745#comment:4>
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
-~----------~----~----~----~------~----~------~--~---