From b71e491f214f7558b585b136c0b1dbcda5243e8b Mon Sep 17 00:00:00 2001 From: user202729 <25191436+user202729@users.noreply.github.com> Date: Tue, 12 Nov 2024 12:46:11 +0700 Subject: [PATCH] Fix failing tests --- src/sage/schemes/elliptic_curves/ell_field.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/sage/schemes/elliptic_curves/ell_field.py b/src/sage/schemes/elliptic_curves/ell_field.py index 8e9a9f1134a..97a96317b3f 100755 --- a/src/sage/schemes/elliptic_curves/ell_field.py +++ b/src/sage/schemes/elliptic_curves/ell_field.py @@ -1559,7 +1559,7 @@ def period_lattice(self): sage: EllipticCurve(QQbar, [1, 6]).period_lattice() Period lattice associated to Elliptic Curve defined by y^2 = x^3 + x + 6 over Algebraic Field - Unsupported cases:: + Unsupported cases (the exact error being raised may change in the future):: sage: EllipticCurve(ZZ, [1, 6]).period_lattice() Traceback (most recent call last): @@ -1569,11 +1569,9 @@ def period_lattice(self): sage: EllipticCurve(QQt.fraction_field(), [1, 6]).period_lattice() Traceback (most recent call last): ... - AttributeError: 'FractionField_1poly_field_with_category' object has no attribute 'embeddings' sage: EllipticCurve(GF(7), [1, 6]).period_lattice() Traceback (most recent call last): ... - AttributeError: 'FiniteField_prime_modn_with_category' object has no attribute 'embeddings' """ from sage.schemes.elliptic_curves.period_lattice import PeriodLattice_ell return PeriodLattice_ell(self)