One more thing: I also replaced each instance of "doctest:858:" with "doctest:...".
On Tuesday, May 26, 2015 at 4:31:54 PM UTC-7, David Perkinson wrote: > > EXAMPLES:: > > sage: S = sandpiles.Complete(4) > sage: D = SandpileDivisor(S, {0: 0, 1: 0, 2: 8, 3: 0}) > sage: E = SandpileDivisor(S, {0: 2, 1: 2, 2: 2, 3: 2}) > sage: v = firing_vector(S, D, E) > doctest:...: DeprecationWarning: firing_vector() will soon be > removed. Use SandpileDivisor.is_linearly_equivalent() instead. > See http://trac.sagemath.org/12345 for details. > doctest:1: DeprecationWarning: May 25, 2015: Replaced by > SandpileDivisor.is_linearly_equivalent. > See http://trac.sagemath.org/12345 for details. > > Here is an example of a way I modified an EXAMPLES section. When I first > ran the doctest it gave errors of the form: expect blah1, got blah2. In > each of these cases, I just replaced blah1 by blah2. > > > On Tuesday, May 26, 2015 at 4:21:10 PM UTC-7, John H Palmieri wrote: >> >> This message apparently means "Doctest contains explicit source line >> number". Can you provide an example of a doctest you changed when adding >> the deprecation warnings? >> >> John >> >> >> >> On Tuesday, May 26, 2015 at 4:11:36 PM UTC-7, David Perkinson 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.