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

Commit

Permalink
Fix incorrect doctest output
Browse files Browse the repository at this point in the history
the ValueError did actually not make sense.
  • Loading branch information
saraedum committed Jan 19, 2018
1 parent c53f45c commit 963ceb7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/sage/rings/padics/padic_valuation.py
Original file line number Diff line number Diff line change
Expand Up @@ -724,9 +724,8 @@ def extensions(self, ring):
sage: R.<x> = QQ[]
sage: L.<a> = NumberField(x^4 + 2*x^3 + 2*x^2 + 8)
sage: QQ.valuation(2).extensions(L)
Traceback (most recent call last):
...
ValueError: The valuation [ Gauss valuation induced by 2-adic valuation, v(x) = 1/2 ] does not approximate a unique extension of 2-adic valuation with respect to x^4 + 2*x^3 + 2*x^2 + 8
[[ 2-adic valuation, v(x + 2) = 3/2 ]-adic valuation,
[ 2-adic valuation, v(x) = 1/2 ]-adic valuation]
A case where the extension was incorrect at some point::
Expand Down

0 comments on commit 963ceb7

Please sign in to comment.