Skip to content

Commit c044016

Browse files
author
Matthias Koeppe
committed
sage.rings.polynomial: Update # needs
1 parent 0040121 commit c044016

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/sage/rings/polynomial/polynomial_element.pyx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -666,8 +666,8 @@ cdef class Polynomial(CommutativePolynomial):
666666
Univariate Polynomial Ring in x over Rational Field
667667
668668
sage: zero = QQ['x'](0)
669-
sage: a = matrix(ZZ, [[1]])
670-
sage: zero(a).parent()
669+
sage: a = matrix(ZZ, [[1]]) # needs sage.modules
670+
sage: zero(a).parent() # needs sage.modules
671671
Full MatrixSpace of 1 by 1 dense matrices over Rational Field
672672
673673
sage: pol(y, x).parent() is pol(x, y).parent() is pol(y, y).parent() is Pol_xy
@@ -677,11 +677,11 @@ cdef class Polynomial(CommutativePolynomial):
677677
Univariate Polynomial Ring in x over Rational Field
678678
679679
sage: one = Pol_xy(1)
680-
sage: one(1, 1.).parent()
680+
sage: one(1, 1.).parent() # needs sage.rings.real_mpfr
681681
Real Field with 53 bits of precision
682682
683683
sage: zero = GF(2)['x'](0)
684-
sage: zero(1.).parent()
684+
sage: zero(1.).parent() # needs sage.rings.real_mpfr
685685
Traceback (most recent call last):
686686
...
687687
TypeError: no common canonical parent for objects with parents:

src/sage/rings/polynomial/term_order.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1659,7 +1659,7 @@ def singular_str(self):
16591659
sage: T = P.term_order()
16601660
sage: T.singular_str()
16611661
'(lp(3),Dp(5),lp(2))'
1662-
sage: P._singular_() # needs sage.rings.finite_rings
1662+
sage: P._singular_() # needs sage.libs.singular
16631663
polynomial ring, over a field, global ordering
16641664
// coefficients: ZZ/127
16651665
// number of vars : 10

src/sage/rings/polynomial/toy_variety.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def linear_representation(p, polys):
203203
204204
EXAMPLES::
205205
206-
sage: # needs sage.rings.finite_rings
206+
sage: # needs sage.modules sage.rings.finite_rings
207207
sage: from sage.rings.polynomial.toy_variety import linear_representation
208208
sage: R.<x,y> = PolynomialRing(GF(32003))
209209
sage: B = [x^2 + 1, y^2 + 1, x*y + 1]

0 commit comments

Comments
 (0)