#5630: [with patch, needs work] improve doctest coverage for
schemes/generic/spec.py
--------------------------------+-------------------------------------------
Reporter: AlexGhitza | Owner: AlexGhitza
Type: enhancement | Status: assigned
Priority: minor | Milestone: sage-3.4.1
Component: algebraic geometry | Keywords: spec doctest latex
--------------------------------+-------------------------------------------
Comment(by was):
This doctest fails for me on 32-bit OS X:
{{{
teragon:sage-3.4 wstein$ sage -t devel/sage/sage/schemes/generic/spec.py
sage -t "devel/sage/sage/schemes/generic/spec.py"
**********************************************************************
File
"/Users/wstein/build/sage-3.4/devel/sage/sage/schemes/generic/spec.py",
line 116:
sage: Spec(QQ) < 5
Expected:
True
Got:
False
}}}
Since the result is meaningless, you could flag it
{{{
sage: spec(QQ) < 5 # random -- platform dependent
}}}
or instead have a test
{{{
sage: spec(QQ) == 5
False
}}}
If you fix this one issue, then this will get "positive review" from me.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5630#comment:4>
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
-~----------~----~----~----~------~----~------~--~---