#5096: [with patch and spkg, positive review, need doctest fixes] pynac 
interface
enhancements
-------------------------+--------------------------------------------------
 Reporter:  was          |        Owner:  burcin  
     Type:  enhancement  |       Status:  assigned
 Priority:  major        |    Milestone:  sage-3.3
Component:  calculus     |   Resolution:          
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by mabshoff):

  * summary:  [with patch and spkg, needs review] pynac interface
              enhancements => [with patch and spkg, positive
              review, need doctest fixes] pynac interface
              enhancements

Comment:

 With the new spkg and all nine patches applied I am seeing two doctest
 failures:
 {{{
         sage -t -long devel/sage/sage/calculus/calculus.py # 6 doctests
 failed
         sage -t -long devel/sage/sage/modules/free_module_element.pyx # 1
 doctests failed
 }}}
 They all seem to be of the kind
 {{{
 sage -t -long "devel/sage/sage/modules/free_module_element.pyx"
 **********************************************************************
 File
 
"/scratch/mabshoff/sage-3.3.alpha4/devel/sage/sage/modules/free_module_element.pyx",
 line 1637:
     sage: g(x=3, y=2)
 Exception raised:
     Traceback (most recent call last):
       File "/scratch/mabshoff/sage-3.3.alpha4/local/bin/ncadoctest.py",
 line 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/scratch/mabshoff/sage-3.3.alpha4/local/bin/sagedoctest.py",
 line 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File "/scratch/mabshoff/sage-3.3.alpha4/local/bin/ncadoctest.py",
 line 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_52[11]>", line 1, in <module>
         g(x=Integer(3), y=Integer(2))###line 1637:
     sage: g(x=3, y=2)
       File "free_module_element.pyx", line 1640, in
 sage.modules.free_module_element.FreeModuleElement_generic_dense.__call__
 (sage/modules/free_module_element.c:13259)
       File "/scratch/mabshoff/sage-3.3.alpha4/local/lib/python2.5/site-
 packages/sage/calculus/calculus.py", line 6044, in __call__
         raise ValueError, "Expected %s arguments, got
 %s"%(len(myvars),len(args))
     ValueError: Expected 2 arguments, got 0
 **********************************************************************
 }}}

 Cheers,

 Michael

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5096#comment:6>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to