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

Commit

Permalink
Fix doctests
Browse files Browse the repository at this point in the history
residue field implementation has changed apparently. I don't understand why we
print that information but anyway, we certainly don't care here.
  • Loading branch information
saraedum committed Jan 5, 2018
1 parent e05c325 commit c53f45c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/doc/en/reference/valuations/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ constants::
sage: K.<x> = FunctionField(QQ)
sage: w = w.extension(K)
sage: w.residue_field()
Fraction Field of Univariate Polynomial Ring in x over Finite Field of size 2 (using NTL)
Fraction Field of Univariate Polynomial Ring in x over Finite Field of size 2 (using ...)

Mac Lane Approximants
---------------------
Expand Down
4 changes: 2 additions & 2 deletions src/sage/rings/function_field/function_field_valuation.py
Original file line number Diff line number Diff line change
Expand Up @@ -822,13 +822,13 @@ def residue_ring(self):
sage: v = valuations.GaussValuation(QQ['x'], QQ.valuation(2))
sage: w = K.valuation(v)
sage: w.residue_ring()
Fraction Field of Univariate Polynomial Ring in x over Finite Field of size 2 (using NTL)
Fraction Field of Univariate Polynomial Ring in x over Finite Field of size 2 (using ...)
sage: R.<x> = QQ[]
sage: vv = v.augmentation(x, 1)
sage: w = K.valuation(vv)
sage: w.residue_ring()
Fraction Field of Univariate Polynomial Ring in x over Finite Field of size 2 (using NTL)
Fraction Field of Univariate Polynomial Ring in x over Finite Field of size 2 (using ...)
"""
return self._base_valuation.residue_ring().fraction_field()
Expand Down
2 changes: 1 addition & 1 deletion src/sage/rings/valuation/augmented_valuation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1155,7 +1155,7 @@ def residue_ring(self):
sage: w = v.augmentation(x, 1)
sage: w.residue_ring()
Univariate Polynomial Ring in x over Finite Field of size 2 (using NTL)
Univariate Polynomial Ring in x over Finite Field of size 2 (using ...)
"""
from sage.categories.fields import Fields
Expand Down
2 changes: 1 addition & 1 deletion src/sage/rings/valuation/gauss_valuation.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def residue_ring(self):
sage: S.<x> = Qp(2,5)[]
sage: v = GaussValuation(S)
sage: v.residue_ring()
Univariate Polynomial Ring in x over Finite Field of size 2 (using NTL)
Univariate Polynomial Ring in x over Finite Field of size 2 (using ...)
"""
return self.domain().change_ring(self._base_valuation.residue_ring())
Expand Down
2 changes: 1 addition & 1 deletion src/sage/rings/valuation/valuation_space.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ def residue_ring(self):
sage: valuations.TrivialValuation(ZZ).residue_ring()
Integer Ring
sage: GaussValuation(ZZ['x'], ZZ.valuation(2)).residue_ring()
Univariate Polynomial Ring in x over Finite Field of size 2 (using NTL)
Univariate Polynomial Ring in x over Finite Field of size 2 (using ...)
"""
Expand Down

0 comments on commit c53f45c

Please sign in to comment.