Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 299f265

Browse files
committed
add doctest for #34143
1 parent 50a8539 commit 299f265

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/sage/rings/integer.pyx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2177,6 +2177,11 @@ cdef class Integer(sage.structure.element.EuclideanDomainElement):
21772177
...
21782178
TypeError: no canonical coercion from Univariate Polynomial
21792179
Ring in t over Rational Field to Rational Field
2180+
2181+
Test for :trac:`34143`::
2182+
2183+
sage: pow(5,7,13).parent()
2184+
Integer Ring
21802185
"""
21812186
if modulus is not None:
21822187
from sage.rings.finite_rings.integer_mod import Mod

0 commit comments

Comments
 (0)