I've been adding documentation to sage/misc/latex.py and discovered
that if I add a trivial docstring (empty, one-line, other variants of
trivial) to the first function in the file  (which is  "have_dvipng")
then a test run on that file really goes haywire.  Take out the
trivial docstring and all tests pass.

It would appear that the value of the boolean constant EMBEDDED_MODE
might be affected, as much of the erroneous doctest output gets
wrapped in HTML tags, when the expected output is not in this format.
I haven't put much work into trying to isolate the problem (other than
removing/adding the additional docstring repeatedly - that sound you
hear is me banging my head on the wall).  I'm wondering if this sounds
familiar to anybody, or if there is output I could post that would be
helpful in diagnosing the problem.

Thanks,
Rob
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to