#4640: Do not dot out the number of pickles in the pickle jar doctest in
sage/structure/sage_object.pyx
----------------------+-----------------------------------------------------
Reporter: mabshoff | Owner: mabshoff
Type: defect | Status: new
Priority: major | Milestone: sage-3.2.2
Component: misc | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Comment (by mabshoff):
I am seeing two doctest failures, one which could have been caused by my
dumb rebase attempt:
{{{
sage -t -long devel/sage/sage/structure/sage_object.pyx # 1 doctests
sage -t -long devel/sage/sage/combinat/words/word_generators.py # 1
doctests failed
}}}
In detail: This might be caused by missing pickles in the pickle jar:
{{{
sage -t -long "devel/sage/sage/structure/sage_object.pyx"
**********************************************************************
File "/scratch/mabshoff/release-
cycle/sage-3.2.2.rc0/devel/sage/sage/structure/sage_object.pyx", line 371,
in __main__.example_16
Failed example:
sage.structure.sage_object.unpickle_all(std)###line 682:_sage_ >>>
sage.structure.sage_object.unpickle_all(std)
Expected:
doctest:...: DeprecationWarning: Your data is stored in an old format.
Please use the save() function to store your data in a more recent format.
Successfully unpickled ... objects.
Failed to unpickle 0 objects.
Got:
doctest:1172: DeprecationWarning: Your data is stored in an old
format. Please use the save() function to store your data in a more recent
format.
** failed: _class__sage_combinat_word_Words_alphabet__.sobj
** failed: _class__sage_combinat_word_Words_n__.sobj
** failed:
_class__sage_combinat_word_ShuffleProduct_overlapping__.sobj
** failed: _class__sage_combinat_word_ShuffleProduct_shifted__.sobj
** failed:
_class__sage_combinat_word_ShuffleProduct_overlapping_r__.sobj
** failed: _class__sage_combinat_word_ShuffleProduct_w1w2__.sobj
Failed:
_class__sage_combinat_word_Words_alphabet__.sobj
_class__sage_combinat_word_Words_n__.sobj
_class__sage_combinat_word_ShuffleProduct_overlapping__.sobj
_class__sage_combinat_word_ShuffleProduct_shifted__.sobj
_class__sage_combinat_word_ShuffleProduct_overlapping_r__.sobj
_class__sage_combinat_word_ShuffleProduct_w1w2__.sobj
Successfully unpickled 448 objects.
Failed to unpickle 6 objects.
**********************************************************************
}}}
and
{{{
sage -t -long "devel/sage/sage/combinat/words/word_generators.py"
**********************************************************************
File "/scratch/mabshoff/release-
cycle/sage-3.2.2.rc0/devel/sage/sage/combinat/words/word_generators.py",
line 282, in __main__.example_6
Failed example:
f[:Integer(10000)] == u[:Integer(10000)] #long time###line 286:_sage_
>>> f[:10000] == u[:10000] #long time
Expected:
True
Got:
False
**********************************************************************
}}}
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4640#comment:2>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---