Skip to content

Commit c7d62f2

Browse files
author
Matthias Koeppe
committed
Add # needs
1 parent c595819 commit c7d62f2

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

src/sage/libs/ntl/ntl_ZZ_pEX_linkage.pxi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ cdef inline int celement_pow(ZZ_pEX_c* res, ZZ_pEX_c* x, long e, ZZ_pEX_c *modul
332332
sage: (x+1)^(-2)
333333
1/(x^2 + 2*x + 1)
334334
sage: f = x+(a+1)
335-
sage: f**50 == sum(binomial(50,i)*(a+1)**i*x**(50-i) for i in range(51))
335+
sage: f**50 == sum(binomial(50,i)*(a+1)**i*x**(50-i) for i in range(51)) # needs sage.symbolic
336336
True
337337
338338
TESTS:

src/sage/misc/converting_dict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
This is used e.g. in the result of a variety, to allow access to the
2727
result no matter how a generator is identified::
2828
29-
sage: # needs sage.rings.number_field
29+
sage: # needs sage.libs.singular sage.rings.number_field
3030
sage: K.<x,y> = QQ[]
3131
sage: I = ideal([x^2 + 2*y - 5, x + y + 3])
3232
sage: V = sorted(I.variety(AA), key=str)

src/sage/misc/table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ def __eq__(self, other):
293293
294294
EXAMPLES::
295295
296-
sage: # needs sage.modules sage.plot
296+
sage: # needs sage.modules sage.plot sage.symbolic
297297
sage: rows = [['a', 'b', 'c'], [1,plot(sin(x)),3], [4,5,identity_matrix(2)]]
298298
sage: T = table(rows, header_row=True)
299299
sage: T2 = table(rows, header_row=True)

src/sage/plot/colors.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def mod_one(x):
215215
0.0
216216
sage: mod_one(-11/7)
217217
0.4285714285714286
218-
sage: mod_one(pi) + mod_one(-pi)
218+
sage: mod_one(pi) + mod_one(-pi) # needs sage.symbolic
219219
1.0
220220
"""
221221
x = float(x)
@@ -1146,9 +1146,10 @@ def hue(h, s=1, v=1):
11461146
This function makes it easy to sample a broad range of colors for
11471147
graphics::
11481148
1149+
sage: # needs sage.symbolic
11491150
sage: p = Graphics()
11501151
sage: for phi in xsrange(0, 2 * pi, 1 / pi):
1151-
....: p += plot(sin(x + phi), (x, -7, 7), rgbcolor = hue(phi))
1152+
....: p += plot(sin(x + phi), (x, -7, 7), rgbcolor=hue(phi))
11521153
sage: p
11531154
Graphics object consisting of 20 graphics primitives
11541155

0 commit comments

Comments
 (0)