Skip to content

Commit 0d2a944

Browse files
Added a line in test case to ensure that conversion was successfull
1 parent f8d9d70 commit 0d2a944

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sage/combinat/permutation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7101,6 +7101,8 @@ def _element_constructor_(self, x, check=True):
71017101
sage: x = PG([4,3,5,1,2])
71027102
sage: s = P5(x); s
71037103
[4, 3, 5, 1, 2]
7104+
sage: s.parent()
7105+
Standard permutations of 5
71047106
"""
71057107
if isinstance(x, PermutationGroupElement):
71067108
return self. _from_permutation_group_element(x)

0 commit comments

Comments
 (0)