While working on some dot2tex/graphviz oddities, I noticed something strange: many of the doctests marked "optional - dot2tex graphviz" actually pass even when neither dot2tex nor graphviz is installed.

There are 28 doctests which have "# optional - dot2tex" or "# optional - dot2tex graphviz" (and which are not marked "not tested"). Of those 28 doctests, only 17 fail when the packages are not installed.

Since I don't really know those packages, I wonder what the reason is:

(A) Somebody added "optional - dot2tex graphviz" by mistake, possibly copying/pasting it.

(B) The doctest doesn't actually test what the author of the doctest was expecting: the intention was to write a doctest depending on dot2tex/graphviz but this got messed up.

(C) Some Sage code doesn't properly raise an error when dot2tex/graphviz is not installed.

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to