#5983: cmp related doctest failure in
sage/schemes/jacobians/abstract_jacobian.py
----------------------+-----------------------------------------------------
Reporter: mabshoff | Owner: mabshoff
Type: defect | Status: new
Priority: blocker | Milestone: sage-4.0
Component: doctest | Keywords:
----------------------+-----------------------------------------------------
This says it all and fails on occasion due to memory layout, etc. Writing
a doctest this way is '''wrong''':
{{{
sage -t -long "devel/sage/sage/schemes/jacobians/abstract_jacobian.py"
**********************************************************************
File "/home/mabshoff/build-3.4.2/sage-3.4.2-eno-
gcc-4.3.3/devel/sage/sage/schemes/jacobians/abstract_jacobian.py", line
118:
sage: J1 < P2
Expected:
False
Got:
True
**********************************************************************
File "/home/mabshoff/build-3.4.2/sage-3.4.2-eno-
gcc-4.3.3/devel/sage/sage/schemes/jacobians/abstract_jacobian.py", line
120:
sage: J1 > P2
Expected:
True
Got:
False
**********************************************************************
}}}
I am CCing Alex since I believe he wrote this doctest :)
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5983>
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
-~----------~----~----~----~------~----~------~--~---