#5966: sage/sets/primes.py: change doctest so that we check for Primes being !=
to
x^2+x
----------------------+-----------------------------------------------------
Reporter: mabshoff | Owner: mabshoff
Type: defect | Status: new
Priority: blocker | Milestone: sage-3.4.2
Component: doctest | Keywords:
----------------------+-----------------------------------------------------
This was reported by Kiran in https://groups.google.com/group/sage-
devel/browse_thread/thread/776d8e0a25735dca
{{{
sage -t "devel/sage/sage/sets/primes.py"
**********************************************************************
File "/opt/sage/sage-3.4.2.rc0/devel/sage/sage/sets/primes.py", line
80:
sage: P>x^2+x
Expected:
True
Got:
False
**********************************************************************
}}}
Don't test for {{{>}}}, but use {{{!=}}} since anything else is pointless.
We should also compare to an MV polynomial ring ro avoid stating Maxima
needlessly.
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5966>
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
-~----------~----~----~----~------~----~------~--~---