Not a complete answer, but it's coming from matching the regular expression re.compile(r"^\s*doctest:[0-9]") See line 257 of sage/doctest/sources.py David
On Tue, May 26, 2015 at 7:11 PM, David Perkinson <dav...@reed.edu> wrote: > Could someone help me with the following error message? I am making a lot > of revisions to sandpile.py, and all doctests had passed up until I decided > to deprecate some functions. After that, I needed to add the deprecation > warnings to some Examples sections. I cleared up all those errors and was > hoping to get the "All tests passed!" line but got this instead: > > ================================= > > Doctesting 1 file. > sage -t src/sage/sandpiles/sandpile.py > Error: Source line number found > ---------------------------------------------------------------------- > sage -t src/sage/sandpiles/sandpile.py # Source line number found > ---------------------------------------------------------------------- > Total time for all tests: 30.6 seconds > cpu time: 0.0 seconds > cumulative wall time: 0.0 seconds > > ================================= > > Thanks, > David > > -- > 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 http://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/d/optout. > -- 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 http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.