On Tuesday, May 26, 2015 at 4:41:01 PM UTC-7, David Perkinson wrote:
>
> Success! 
>
> Doctesting 1 file.
> sage -t src/sage/sandpiles/sandpile.py
>     [871 tests, 29.75 s]
> ----------------------------------------------------------------------
> All tests passed!
> ----------------------------------------------------------------------
> Total time for all tests: 30.2 seconds
>     cpu time: 18.5 seconds
>     cumulative wall time: 29.8 seconds
>
> As advised, I replaced all instances of "doctest:1:" with "doctest:...".  
> (I had tried "doctest:.:", but that did not work.)
>

Right: in doctest results, "..." is a wild card and can match anything. A 
single dot would have to be matched exactly.

  John

 

>
> Thanks very much! 
>
>
> On Tuesday, May 26, 2015 at 4:36:07 PM UTC-7, John H Palmieri wrote:
>>
>>
>>
>> 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.
>>>
>>
>> Does it help if you replace "doctest:1" with "doctest:..."? Search for 
>> other occurrences of 'DeprecationWarning' in the source code, and make 
>> yours like more like those. To search:
>>
>>     sage: search_src('DeprecationWarning')
>>
>>
>> -- 
>> John
>>  
>>
>

-- 
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.

Reply via email to