That one is a known issue.

On Mon, Mar 24, 2008 at 2:55 PM, David Joyner <[EMAIL PROTECTED]> wrote:
>
>  On Mon, Mar 24, 2008 at 12:38 PM, mabshoff
>
> <[EMAIL PROTECTED]> wrote:
>  >
>
>
> >  Hi David,
>  >
>  >
>  >  > "Rerunning sage -t" yields all tests pass. I was reporting "sage -tp".
>  >
>  >  I know ;)
>  >
>  >
>  >
>  >  >  Here is
>  >  > a copy+paste from the terminal history:
>  >  >
>  >  > sage -t  1/devel/sage/sage/misc/preparser.py
>  >  > **********************************************************************
>  >  > File "preparser.py", line 83:
>  >  >     sage: b
>  >  > Expected:
>  >  >     x^2 + theta
>  >  > Got:
>  >  >     868663799
>  >  > **********************************************************************
>  >  > 1 items had failures:
>  >  >    1 of  45 in __main__.example_0
>  >  > ***Test Failed*** 1 failures.
>  >  >
>  >  > sage -t  1/devel/sage/sage/calculus/calculus.py
>  >  > **********************************************************************
>  >  > File "calculus.py", line 2892:
>  >  >     sage: f = expand((x^2 - 1)^3*(x^2 + 1)*(x-a)); f
>  >  > Expected:
>  >  >     x^9 - a*x^8 - 2*x^7 + 2*a*x^6 + 2*x^3 - 2*a*x^2 - x + a
>  >  > Got:
>  >  >     1191707048
>  >  > **********************************************************************
>  >  > File "calculus.py", line 2896:
>  >  >     sage: f.roots()
>  >  > Exception raised:
>  >  >     Traceback (most recent call last):
>  >  >       File 
> "/home/wdj/wdj/sagefiles/sage-2.11.alpha1/local/lib/python2.5/doctest.py",
>  >  > line 1212, in __run
>  >  >         compileflags, 1) in test.globs
>  >  >       File "<doctest __main__.example_76[3]>", line 1, in <module>
>  >  >         f.roots()###line 2896:
>  >  >     sage: f.roots()
>  >  >       File 
> "/home/wdj/wdj/sagefiles/sage-2.11.alpha1/local/lib/python2.5/site-packages/sage/calculus/calculus.py",
>  >  > line 2948, in roots
>  >  >         raise RuntimeError, "no explicit roots found"
>  >  >     RuntimeError: no explicit roots found
>  >  > **********************************************************************
>  >  > File "calculus.py", line 2900:
>  >  >     sage: f.poly(a)
>  >  > Expected:
>  >  >     (x^9 - 2*x^7 + 2*x^3 - x)*1 + (-x^8 + 2*x^6 - 2*x^2 + 1)*a
>  >  > Got:
>  >  >     1191707048
>  >  > **********************************************************************
>  >  > File "calculus.py", line 2902:
>  >  >     sage: f(a=x)
>  >  > Expected:
>  >  >     0
>  >  > Got:
>  >  >     1191707048
>  >  > **********************************************************************
>  >  > File "calculus.py", line 2906:
>  >  >     sage: f.roots(x)
>  >  > Exception raised:
>  >  >     Traceback (most recent call last):
>  >  >       File 
> "/home/wdj/wdj/sagefiles/sage-2.11.alpha1/local/lib/python2.5/doctest.py",
>  >  > line 1212, in __run
>  >  >         compileflags, 1) in test.globs
>  >  >       File "<doctest __main__.example_76[6]>", line 1, in <module>
>  >  >         f.roots(x)###line 2906:
>  >  >     sage: f.roots(x)
>  >  >       File 
> "/home/wdj/wdj/sagefiles/sage-2.11.alpha1/local/lib/python2.5/site-packages/sage/calculus/calculus.py",
>  >  > line 2948, in roots
>  >  >         raise RuntimeError, "no explicit roots found"
>  >  >     RuntimeError: no explicit roots found
>  >  > **********************************************************************
>  >  > 1 items had failures:
>  >  >    5 of  18 in __main__.example_76
>  >  > ***Test Failed*** 5 failures.
>  >  > For whitespace errors, see the file .doctest_calculus.py
>  >  >
>  >
>  >  This is all very odd, especially since there doesn't seem to be any
>  >  concurrency issues. Is it reproducible with "-tp"? Good that the
>  >  normal test still works ;)
>
>  No, they pass if I rerun that command. However, on the 2nd run I get a
>  new failure:
>
>  sage -t  1/devel/sage/sage/rings/polynomial/polynomial_modn_dense_ntl.pyx
>  **********************************************************************
>  File "polynomial_modn_dense_ntl.pyx", line 495:
>     sage: q == qbar - d
>  Expected:
>     True
>  Got:
>     False
>  **********************************************************************
>  1 items had failures:
>    1 of  37 in __main__.example_10
>  ***Test Failed*** 1 failures.
>  For whitespace errors, see the file .doctest_polynomial_modn_dense_ntl.pyx
>
>  (Also, plot.py fails, as usual, but those are the only ones.)
>
>
>
>  >
>  >  Cheers,
>  >
>  >  Michael
>  >
>  >
>  > >
>  >
>
>  >
>

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to