On Apr 12, 8:47 am, John H Palmieri <jhpalmier...@gmail.com> wrote: > On Apr 11, 6:34 pm, Rob Beezer <goo...@beezer.cotse.net> wrote: > > > > > > > On Apr 11, 5:59 pm, William Stein <wst...@gmail.com> wrote: > > > > You could post your file. > > > Its at http://buzzard.ups.edu/private/latex.py > > > This is the fubared version of sage/misc/latex.py (which I am in the > > middle of working on). It contains one doctest that I've edited > > heavily, so some changes seem to be allowed OK. I'm running sage -t > > on it within my development tree, which has been upgraded progessively > > to 3.4.1.rc2. > > > When I take out the docstring on the first function, it passes all > > tests. > > > Thanks, > > Rob > > I've had similar problems with this same file: making seemingly > innocuous changes near the top screws up the doctests for > latex_variable_name at the bottom, acting like EMBEDDED_MODE is True. > Are those the doctests which fail for you? I couldn't figure out why, > though.
Also, I'll confirm that if you take 3.4.1.rc2, then in latex.py, adding a docstring to have_png -- just something trivial, as Rob says, like """ docstring docstring """ then doctests suddenly fail for that file. John --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---