#4882: [with patch, needs review] M2 related doctest failure in
sage/rings/polynomial/multi_polynomial_ideal.py
---------------------+------------------------------------------------------
 Reporter:  jsp      |        Owner:  mabshoff  
     Type:  defect   |       Status:  assigned  
 Priority:  major    |    Milestone:  sage-3.2.3
Component:  doctest  |   Resolution:            
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by jsp):

 After the patch:


 {{{
 sage -t  "devel/sage/sage/rings/polynomial/multi_polynomial_ideal.py"
 **********************************************************************
 File
 
"/home/jaap/work/downloads/sage-3.2.2/devel/sage/sage/rings/polynomial/multi_polynomial_ideal.py",
 line 65:
     sage: a^2 + b^2 == 0
 Exception raised:
     Traceback (most recent call last):
       File
 "/home/jaap/downloads/sage-3.2.2.alpha2/local/bin/ncadoctest.py", line
 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File
 "/home/jaap/downloads/sage-3.2.2.alpha2/local/bin/sagedoctest.py", line
 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File
 "/home/jaap/downloads/sage-3.2.2.alpha2/local/bin/ncadoctest.py", line
 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_0[16]>", line 1, in <module>
         a**Integer(2) + b**Integer(2) == Integer(0)###line 65:
     sage: a^2 + b^2 == 0
     NameError: name 'a' is not defined
 **********************************************************************
 File
 
"/home/jaap/work/downloads/sage-3.2.2/devel/sage/sage/rings/polynomial/multi_polynomial_ideal.py",
 line 67:
     sage: a^3 - b^2
 Exception raised:
     Traceback (most recent call last):
       File
 "/home/jaap/downloads/sage-3.2.2.alpha2/local/bin/ncadoctest.py", line
 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File
 "/home/jaap/downloads/sage-3.2.2.alpha2/local/bin/sagedoctest.py", line
 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File
 "/home/jaap/downloads/sage-3.2.2.alpha2/local/bin/ncadoctest.py", line
 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_0[17]>", line 1, in <module>
         a**Integer(3) - b**Integer(2)###line 67:
     sage: a^3 - b^2
     NameError: name 'a' is not defined
 **********************************************************************
 File
 
"/home/jaap/work/downloads/sage-3.2.2/devel/sage/sage/rings/polynomial/multi_polynomial_ideal.py",
 line 69:
     sage: (a+b)^17
 Exception raised:
     Traceback (most recent call last):
       File
 "/home/jaap/downloads/sage-3.2.2.alpha2/local/bin/ncadoctest.py", line
 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File
 "/home/jaap/downloads/sage-3.2.2.alpha2/local/bin/sagedoctest.py", line
 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File
 "/home/jaap/downloads/sage-3.2.2.alpha2/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+b)**Integer(17)###line 69:
     sage: (a+b)^17
     NameError: name 'a' is not defined
 **********************************************************************
 File
 
"/home/jaap/work/downloads/sage-3.2.2/devel/sage/sage/rings/polynomial/multi_polynomial_ideal.py",
 line 71:
     sage: S(17) == 0
 Exception raised:
     Traceback (most recent call last):
       File
 "/home/jaap/downloads/sage-3.2.2.alpha2/local/bin/ncadoctest.py", line
 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File
 "/home/jaap/downloads/sage-3.2.2.alpha2/local/bin/sagedoctest.py", line
 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File
 "/home/jaap/downloads/sage-3.2.2.alpha2/local/bin/ncadoctest.py", line
 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_0[19]>", line 1, in <module>
         S(Integer(17)) == Integer(0)###line 71:
     sage: S(17) == 0
     NameError: name 'S' is not defined
 **********************************************************************
 1 items had failures:
    4 of  45 in __main__.example_0
 ***Test Failed*** 4 failures.
 For whitespace errors, see the file
 /home/jaap/downloads/sage-3.2.2/tmp/.doctest_multi_polynomial_ideal.py
          [12.6 s]
 exit code: 1024


 }}}

 Needs work

 Jaap

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