Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
mark m2 doctests as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
saliola authored and dimpase committed Oct 22, 2019
1 parent 84702b4 commit 4db4a3c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sage/rings/quotient_ring.py
Original file line number Diff line number Diff line change
Expand Up @@ -1308,7 +1308,7 @@ def _macaulay2_init_(self, macaulay2=None):
sage: I = R.ideal([x^2 - y])
sage: Q = R.quotient_ring(I); Q
Quotient of Multivariate Polynomial Ring in x, y over Rational Field by the ideal (x^2 - y)
sage: Q._macaulay2_init_()
sage: Q._macaulay2_init_() # optional - macaulay2
QQ[x, y]
--------
2
Expand All @@ -1318,7 +1318,7 @@ def _macaulay2_init_(self, macaulay2=None):
sage: I = R.ideal([x*y-z^2, y^2-w^2])
sage: Q = R.quotient(I); Q
Quotient of Multivariate Polynomial Ring in x, y, z, w over Integer Ring by the ideal (x*y - z^2, y^2 - w^2)
sage: Q._macaulay2_init_()
sage: Q._macaulay2_init_() # optional - macaulay2
ZZ[x, y, z, w]
-------------------
2 2 2
Expand All @@ -1328,7 +1328,7 @@ def _macaulay2_init_(self, macaulay2=None):
sage: I = R.ideal([x^2 + x, y^2 + y])
sage: Q = R.quotient_ring(I); Q
Quotient of Multivariate Polynomial Ring in x, y over Finite Field of size 101 by the ideal (x^2 + x, y^2 + y)
sage: macaulay2(Q) # optional - macaulay2
sage: Q._macaulay2_init_() # optional - macaulay2
ZZ
---[x, y]
101
Expand All @@ -1342,7 +1342,7 @@ def _macaulay2_init_(self, macaulay2=None):
sage: I = R.ideal([4 + 3*x + x^2, 1 + x^2])
sage: Q = R.quotient_ring(I); Q
Quotient of Univariate Polynomial Ring in x over Integer Ring by the ideal (x^2 + 3*x + 4, x^2 + 1)
sage: Q._macaulay2_init_()
sage: Q._macaulay2_init_() # optional - macaulay2
ZZ[x]
---------------------
2 2
Expand Down

0 comments on commit 4db4a3c

Please sign in to comment.