@@ -72,25 +72,25 @@ def lcm(a, b=None):
72
72
73
73
Make sure we try `\Q Q` and not merely `\Z Z` ( :trac:`13014`) ::
74
74
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
76
76
True
77
77
78
78
Make sure that the lcm of Expressions stays symbolic::
79
79
80
80
sage: parent( lcm( 2, 4))
81
81
Integer Ring
82
- sage: parent( lcm( SR( 2) , 4)) # optional - sage. symbolic
82
+ sage: parent( lcm( SR( 2) , 4)) # needs sage. symbolic
83
83
Symbolic Ring
84
- sage: parent( lcm( 2, SR( 4))) # optional - sage. symbolic
84
+ sage: parent( lcm( 2, SR( 4))) # needs sage. symbolic
85
85
Symbolic Ring
86
- sage: parent( lcm( SR( 2) , SR( 4))) # optional - sage. symbolic
86
+ sage: parent( lcm( SR( 2) , SR( 4))) # needs sage. symbolic
87
87
Symbolic Ring
88
88
89
89
Verify that objects without lcm methods but which can't be
90
90
coerced to `\Z Z` or `\Q Q` raise an error::
91
91
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
94
94
Traceback ( most recent call last) :
95
95
...
96
96
TypeError: unable to find lcm of x and y
0 commit comments