#7693: Different import paths can impact whether doctests are run or not.
---------------------------------------+------------------------------------
Reporter: davenaff | Owner: nobody
Status: closed | Milestone:
Component: Unit test system | Version: SVN
Resolution: invalid | Keywords:
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------+------------------------------------
Changes (by russellm):
* status: new => closed
* needs_better_patch: => 0
* resolution: => invalid
* needs_tests: => 0
* needs_docs: => 0
Comment:
There must be something else going on here - you haven't mentioned
anything that imports util1.py, so that code won't be imported, and
therefore wont be executed. I don't deny you're seeing a problem, but
either util1.py isn't the cause, or there is something else going on that
your instructions don't cover.
Also - regarding your proposed solution - _doctest.py is a copy of the
Python version, provided as a workaround for bugs in older Python
versions. Patches proposing fixes to _doctest.py are almost certainly not
the right solution to any problem - if they are the solution, they should
be submitted upstream to Python itself.
--
Ticket URL: <http://code.djangoproject.com/ticket/7693#comment:1>
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
-~----------~----~----~----~------~----~------~--~---