Skip to content

Commit

Permalink
Trac #27867: three more folders in python3-known-passing.txt
Browse files Browse the repository at this point in the history
to lock the progress towards python3

URL: https://trac.sagemath.org/27867
Reported by: chapoton
Ticket author(s): Frédéric Chapoton
Reviewer(s): John Palmieri
  • Loading branch information
Release Manager committed May 25, 2019
2 parents 7dd1e35 + 697a1b9 commit 5fb099b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
5 changes: 3 additions & 2 deletions src/ext/doctest/python3-known-passing.txt
Expand Up @@ -13,12 +13,13 @@ src/sage/combinat/words/
src/sage/data_structures/
src/sage/databases/
src/sage/docs/
src/sage/dynamics/
src/sage/features/
src/sage/finance/
src/sage/functions/
src/sage/game_theory/
src/sage/games/
src/sage/groups/lie_gps/
src/sage/groups/matrix_gps/
src/sage/groups/
src/sage/homology/
src/sage/interacts/
src/sage/knots/
Expand Down
22 changes: 14 additions & 8 deletions src/sage/dynamics/arithmetic_dynamics/endPN_automorphism_group.py
Expand Up @@ -635,19 +635,25 @@ def automorphism_group_QQ_CRT(rational_function, prime_lower_bound=4, return_fun
sage: R.<z> = PolynomialRing(QQ)
sage: f = (3*z^2 - 1)/(z^3 - 3*z)
sage: from sage.dynamics.arithmetic_dynamics.endPN_automorphism_group import automorphism_group_QQ_CRT
sage: automorphism_group_QQ_CRT(f, 4, True)
[z, -z, 1/z, -1/z, (-z + 1)/(z + 1), (z + 1)/(z - 1), (z - 1)/(z + 1),
(-z - 1)/(z - 1)]
sage: sorted(automorphism_group_QQ_CRT(f, 4, True))
[-1/z,
1/z,
(-z - 1)/(z - 1),
(-z + 1)/(z + 1),
(z - 1)/(z + 1),
(z + 1)/(z - 1),
-z,
z]
::
sage: R.<z> = PolynomialRing(QQ)
sage: f = (3*z^2 - 1)/(z^3 - 3*z)
sage: from sage.dynamics.arithmetic_dynamics.endPN_automorphism_group import automorphism_group_QQ_CRT
sage: automorphism_group_QQ_CRT(f, 4, False)
sage: sorted(automorphism_group_QQ_CRT(f, 4, False))
[
[1 0] [-1 0] [0 1] [ 0 -1] [-1 1] [ 1 1] [ 1 -1] [-1 -1]
[0 1], [ 0 1], [1 0], [ 1 0], [ 1 1], [ 1 -1], [ 1 1], [ 1 -1]
[-1 -1] [-1 0] [-1 1] [ 0 -1] [0 1] [ 1 -1] [1 0] [ 1 1]
[ 1 -1], [ 0 1], [ 1 1], [ 1 0], [1 0], [ 1 1], [0 1], [ 1 -1]
]
"""
if rational_function.parent().is_field():
Expand Down Expand Up @@ -1453,8 +1459,8 @@ def automorphisms_fixing_pair(rational_function, pair, quad):
sage: f = (z^2 + 5*z + 5)/(5*z^2 + 5*z + 1)
sage: L = [[4, 1], [2, 1]]
sage: from sage.dynamics.arithmetic_dynamics.endPN_automorphism_group import automorphisms_fixing_pair
sage: automorphisms_fixing_pair(f, L, False)
[(6*z + 6)/z, 6/(z + 1)]
sage: sorted(automorphisms_fixing_pair(f, L, False))
[6/(z + 1), (6*z + 6)/z]
"""
# define ground field and ambient function field
if rational_function.parent().is_field():
Expand Down

0 comments on commit 5fb099b

Please sign in to comment.