#6318: optional doctest failure -- axiom interface -- something doesn't work
-------------------------------+--------------------------------------------
 Reporter:  was                |       Owner:  tbd       
     Type:  defect             |      Status:  new       
 Priority:  major              |   Milestone:  sage-4.0.3
Component:  optional packages  |    Keywords:            
 Reviewer:                     |      Author:            
   Merged:                     |  
-------------------------------+--------------------------------------------

Comment(by was):

 More failures:
 {{{
 sage -t -long --optional devel/sage/sage/interfaces/fricas.py
 **********************************************************************
 File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-
 main/sage/interfaces/fricas.py", line 61:
     sage: F.type()                              # optional - fricas
 Expected:
     Factored(Polynomial(Integer))
 Got:
     Factored Polynomial Integer
 **********************************************************************
 File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-
 main/sage/interfaces/fricas.py", line 84:
     sage: print fricas.eval('factor(x^5 - y^5)')   # optional - fricas
 Expected:
                4      3    2 2    3     4
     - (y - x)(y  + x y  + x y  + x y + x )    Type:
 Factored(Polynomial(Integer))
 Got:
                  4      3    2 2    3     4

       - (y - x)(y  + x y  + x y  + x y + x )

 Type: Factored Polynomial Integer

     <BLANKLINE>
 **********************************************************************
 File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-
 main/sage/interfaces/fricas.py", line 129:
     sage: a = fricas(x+2); a  #optional - fricas
 Exception raised:
     Traceback (most recent call last):
       File
 "/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/ncadoctest.py", line
 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File
 "/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/sagedoctest.py", line
 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File
 "/scratch/wstein/build/sage-4.0.2.alpha3/local/bin/ncadoctest.py", line
 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_0[18]>", line 1, in <module>
         a = fricas(x+Integer(2)); a  #optional - fricas###line 129:
     sage: a = fricas(x+2); a  #optional - fricas
       File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
 /site-packages/sage/interfaces/expect.py", line 1026, in __call__
         return self._coerce_from_special_method(x)
       File "/scratch/wstein/build/sage-4.0.2.alpha3/local/lib/python2.5
 /site-packages/sage/interfaces/expect.py", line 1050, in
 _coerce_from_special_method
         return (x.__getattribute__(s))(self)
       File "sage_object.pyx", line 321, in
 sage.structure.sage_object.SageObject._fricas_
 (sage/structure/sage_object.c:4113)
       File "expression.pyx", line 404, in
 sage.symbolic.expression.Expression._interface_
 (sage/symbolic/expression.cpp:3275)
       File "sage_object.pyx", line 248, in
 sage.structure.sage_object.SageObject._interface_
 (sage/structure/sage_object.c:2716)
       File "sage_object.pyx", line 324, in
 sage.structure.sage_object.SageObject._fricas_init_
 (sage/structure/sage_object.c:4164)
     TypeError: _interface_init_() takes exactly one argument (0 given)
 **********************************************************************
 File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-
 main/sage/interfaces/fricas.py", line 131:
     sage: a.subst(x=3)       #optional - fricas
 Expected:
     5
 Got:
          +-+

       29\|2  + 41
 **********************************************************************
 1 items had failures:
    4 of  21 in __main__.example_0
 ***Test Failed*** 4 failures.

 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6318#comment:3>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to