Skip to content

Commit c506b06

Browse files
author
Matthias Koeppe
committed
sage.structure: Update # needs
1 parent ba7b9f2 commit c506b06

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

src/sage/structure/coerce.pyx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,8 @@ cdef class CoercionModel:
517517
Check that :trac:`8426` is fixed (see also :trac:`18076`)::
518518
519519
sage: import numpy # needs numpy
520+
521+
sage: # needs sage.rings.real_mpfr
520522
sage: x = polygen(RR)
521523
sage: numpy.float32('1.5') * x # needs numpy
522524
1.50000000000000*x

src/sage/structure/factorization.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1232,9 +1232,10 @@ def __call__(self, *args, **kwds):
12321232
sage: F(t=0)
12331233
0
12341234
1235-
sage: R.<x> = LaurentPolynomialRing(QQ, 1) # needs sage.modules
1236-
sage: F = ((x+2)/x**3).factor() # needs sage.modules
1237-
sage: F(x=4) # needs sage.modules
1235+
sage: # needs sage.libs.pari sage.modules
1236+
sage: R.<x> = LaurentPolynomialRing(QQ, 1)
1237+
sage: F = ((x+2)/x**3).factor()
1238+
sage: F(x=4)
12381239
1/64 * 6
12391240
"""
12401241
unit = self.__unit.subs(*args, **kwds)

src/sage/structure/parent_old.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ cdef class Parent(parent.Parent):
5252
[(0, 0), (1, 0), (0, 1), (1, 1)]
5353
sage: MatrixSpace(GF(3), 1, 1).list()
5454
[[0], [1], [2]]
55-
sage: DirichletGroup(3).list() # needs sage.modular
55+
sage: DirichletGroup(3).list() # needs sage.libs.pari sage.modular
5656
[Dirichlet character modulo 3 of conductor 1 mapping 2 |--> 1,
5757
Dirichlet character modulo 3 of conductor 3 mapping 2 |--> -1]
5858

src/sage/tests/book_stein_modform.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
66
TESTS::
77
8+
sage: # needs sage.libs.gap
89
sage: G = SL(2,ZZ); G
910
Special Linear Group of degree 2 over Integer Ring
1011
sage: S, T = G.gens()
@@ -14,6 +15,7 @@
1415
sage: T
1516
[1 1]
1617
[0 1]
18+
1719
sage: delta_qexp(6)
1820
q - 24*q^2 + 252*q^3 - 1472*q^4 + 4830*q^5 + O(q^6)
1921
sage: bernoulli(12)

0 commit comments

Comments
 (0)