Skip to content

Commit ff9c671

Browse files
committed
fixing doctest syntax
1 parent 2e2f1af commit ff9c671

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/sage/groups/perm_gps/permgroup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3304,9 +3304,11 @@ def commutator(self, other=None):
33043304
Traceback (most recent call last):
33053305
...
33063306
TypeError: junk is not a permutation group
3307-
TESTS ::
3307+
3308+
TEST:
33083309
33093310
Verify that :issue`39416` is fixed::
3311+
33103312
sage: G = PermutationGroup(gens=[("a", "b"), ("b","c")])
33113313
sage: G.commutator()
33123314
Subgroup generated by [('a','b','c')] of (Permutation Group with generators [('b','c'), ('a','b')])

0 commit comments

Comments
 (0)