# HG changeset patch
# User Martin Albrecht <malb@informatik.uni-bremen.de>
# Date 1242164082 -3600
# Node ID aa37f3a5f5d799d68a0de1945b4ef4d68465a93f
# Parent  2136967ee29a6bb86e3ac2969e882e1002be3bd7
fix doctest fallout for Singular 3-1-0

diff -r 2136967ee29a -r aa37f3a5f5d7 sage/interfaces/singular.py
--- a/sage/interfaces/singular.py	Thu Mar 19 12:08:48 2009 +0000
+++ b/sage/interfaces/singular.py	Tue May 12 22:34:42 2009 +0100
@@ -125,7 +125,7 @@
     x1^2*x2^2,
     x0*x2^3-x1^2*x2^2+x1*x2^3,
     x0*x1-x0*x2-x1*x2,
-    x0^2*x2-x0*x1*x2
+    x0^2*x2-x0*x2^2-x1*x2^2
 
 This example illustrates moving a polynomial from one ring to
 another. It also illustrates calling a method of an object with an
@@ -328,7 +328,7 @@
         x1^2*x2^2,
         x0*x2^3-x1^2*x2^2+x1*x2^3,
         x0*x1-x0*x2-x1*x2,
-        x0^2*x2-x0*x1*x2
+        x0^2*x2-x0*x2^2-x1*x2^2
     
     AUTHORS:
 
@@ -734,7 +734,7 @@
             x1^2*x2^2,
             x0*x2^3-x1^2*x2^2+x1*x2^3,
             x0*x1-x0*x2-x1*x2,
-            x0^2*x2-x0*x1*x2
+            x0^2*x2-x0*x2^2-x1*x2^2
         """
         if isinstance(gens, str):
             gens = self(gens)
@@ -986,7 +986,7 @@
          EXAMPLES::
          
              sage: singular.trait_names()
-             ['headStand',
+             ['exteriorPower',
               ...
               'stdfglm']
          """
@@ -1622,7 +1622,7 @@
         
             sage: R = singular.ring(0,'(x,y)','dp') 
             sage: R.trait_names()
-            ['headStand',
+            ['exteriorPower',
              ...
              'stdfglm']
         """
diff -r 2136967ee29a -r aa37f3a5f5d7 sage/rings/polynomial/multi_polynomial_ideal.py
--- a/sage/rings/polynomial/multi_polynomial_ideal.py	Thu Mar 19 12:08:48 2009 +0000
+++ b/sage/rings/polynomial/multi_polynomial_ideal.py	Tue May 12 22:34:42 2009 +0100
@@ -2372,11 +2372,12 @@
             sage: I.groebner_basis('toy:buchberger')
             [a^2 - a + 2*b^2 + 2*c^2, 
              a*b + b*c - 1/2*b, a + 2*b + 2*c - 1, 
-             b^2 + 4/3*b*c - 1/3*b + c^2 - 1/3*c,
+             b^2 + 3*b*c - 1/2*b + 3*c^2 - c, 
              b*c - 1/10*b + 6/5*c^2 - 2/5*c, 
              b + 30*c^3 - 79/7*c^2 + 3/7*c, 
+             c^6 - 79/210*c^5 - 229/2100*c^4 + 121/2520*c^3 + 1/3150*c^2 - 11/12600*c, 
              c^4 - 10/21*c^3 + 1/84*c^2 + 1/84*c]
-        
+
         but that toy:buchberger2 does.
         
         ::
