Skip to content

Commit 54747b6

Browse files
Make tests more robust
1 parent 6bc3152 commit 54747b6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/sage/combinat/permutation.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7098,7 +7098,9 @@ def _element_constructor_(self, x, check=True):
70987098
sage: PG = PermutationGroup([[(1,2,3),(5,6)],[(7,8)]])
70997099
sage: P8 = Permutations(8)
71007100
sage: p = PG.an_element()
7101-
sage: P8(p).parent()
7101+
sage: q = P8(p); q
7102+
[2, 3, 1, 4, 6, 5, 8, 7]
7103+
sage: q.parent()
71027104
Standard permutations of 8
71037105
"""
71047106
if isinstance(x, PermutationGroupElement):

0 commit comments

Comments
 (0)