Skip to content

Commit 8c4ac5b

Browse files
author
Matthias Koeppe
committed
./sage -fixdoctests --distribution sagemath-categories --only-tags --probe all src/sage/arith/
1 parent a2b9202 commit 8c4ac5b

File tree

4 files changed

+634
-597
lines changed

4 files changed

+634
-597
lines changed

src/sage/arith/functions.pyx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,25 +72,25 @@ def lcm(a, b=None):
7272
7373
Make sure we try `\QQ` and not merely `\ZZ` (:trac:`13014`)::
7474
75-
sage: bool(lcm(2/5, 3/7) == lcm(SR(2/5), SR(3/7))) # optional - sage.symbolic
75+
sage: bool(lcm(2/5, 3/7) == lcm(SR(2/5), SR(3/7))) # needs sage.symbolic
7676
True
7777
7878
Make sure that the lcm of Expressions stays symbolic::
7979
8080
sage: parent(lcm(2, 4))
8181
Integer Ring
82-
sage: parent(lcm(SR(2), 4)) # optional - sage.symbolic
82+
sage: parent(lcm(SR(2), 4)) # needs sage.symbolic
8383
Symbolic Ring
84-
sage: parent(lcm(2, SR(4))) # optional - sage.symbolic
84+
sage: parent(lcm(2, SR(4))) # needs sage.symbolic
8585
Symbolic Ring
86-
sage: parent(lcm(SR(2), SR(4))) # optional - sage.symbolic
86+
sage: parent(lcm(SR(2), SR(4))) # needs sage.symbolic
8787
Symbolic Ring
8888
8989
Verify that objects without lcm methods but which can't be
9090
coerced to `\ZZ` or `\QQ` raise an error::
9191
92-
sage: F.<x,y> = FreeMonoid(2) # optional - sage.groups
93-
sage: lcm(x,y) # optional - sage.groups
92+
sage: F.<x,y> = FreeMonoid(2) # needs sage.groups
93+
sage: lcm(x,y) # needs sage.groups
9494
Traceback (most recent call last):
9595
...
9696
TypeError: unable to find lcm of x and y

0 commit comments

Comments
 (0)