I think I made significant progress, but now I am in need of help.

Progress means, that I reduced the example to a dozen of lines, containing 
three tests.

I am in need of help, because I have no idea why these interact.

Martin

Am Dienstag, 20. November 2018 17:40:57 UTC+1 schrieb Frédéric Chapoton:
>
> known issue, see https://trac.sagemath.org/ticket/26586
>
> F
>
> Le mardi 20 novembre 2018 17:26:17 UTC+1, Martin R a écrit :
>>
>> Dear all!
>>
>> I am in need of help again.  At https://trac.sagemath.org/ticket/25864 I 
>> have a doctest whose output seems to depend on whether the option --long is 
>> passed or not.
>>
>> The doctest is in src/sage/combinat/posets/poset_examples.py:
>>
>>
>> ---------------------------------------------------------------------------------
>>         EXAMPLES::
>>
>>             sage: P = posets.YoungDiagramPoset(Partition([2,2])); P
>>             Finite meet-semilattice containing 4 elements
>>             sage: P.cover_relations()
>>
>> ---------------------------------------------------------------------------------
>>
>> I now get (with the branch on the ticket applied)
>>
>> sage -t --long src/sage/combinat/posets/poset_examples.py
>> **********************************************************************
>> File "src/sage/combinat/posets/poset_examples.py", line 1400, in 
>> sage.combinat.posets.poset_examples.Posets.YoungDiagramPoset
>> Failed example:
>>     P.cover_relations()
>> Expected nothing
>> Got:
>>     [[(0, 0), (0, 1)], [(0, 0), (1, 0)], [(0, 1), (1, 1)], [(1, 0), (1, 
>> 1)]]
>>
>> versus
>>
>> sage -t  src/sage/combinat/posets/poset_examples.py 
>> **********************************************************************
>> File "src/sage/combinat/posets/poset_examples.py", line 1400, in 
>> sage.combinat.posets.poset_examples.Posets.YoungDiagramPoset
>> Failed example:
>>     P.cover_relations()
>> Expected nothing
>> Got:
>>     [[(0, 0), (1, 0)], [(0, 0), (0, 1)], [(1, 0), (1, 1)], [(0, 1), (1, 
>> 1)]]
>> **********************************************************************
>> (note that the order of the output changed)
>>
>> There is one "long" doctest in the same file:
>>
>> ---------------------------------------------------------------------------------
>>             sage: posets.SSTPoset([3,2]).bottom()  # long time (6s on 
>> sage.math, 2012)
>>             [[1, 1, 1], [2, 2]]
>>
>> ---------------------------------------------------------------------------------
>>
>> If I remove the long from there, the difference goes away, and I get the 
>> "long" version.
>>
>> If I run the doctest in the console, I get the "long" version.
>>
>> How can I debug this?
>>
>> Help is much appreciated!
>>
>> Martin
>>
>

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