From: Michael Orlitzky Date: Wed, 10 Mar 2021 19:30:40 +0000 (-0500) Subject: eja: fix missing test import. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=86bf0d59519eef1259fa9fb82457148b28c2fa2e;p=sage.d.git eja: fix missing test import. --- diff --git a/mjo/eja/eja_utils.py b/mjo/eja/eja_utils.py index 3942e70..1cf13bc 100644 --- a/mjo/eja/eja_utils.py +++ b/mjo/eja/eja_utils.py @@ -10,14 +10,16 @@ def _charpoly_sage_input(s): SETUP:: + sage: from mjo.eja.eja_algebra import JordanSpinEJA sage: from mjo.eja.eja_utils import _charpoly_sage_input EXAMPLES:: sage: J = JordanSpinEJA(4,QQ) - sage: J._charpoly_coefficients()[0] + sage: a = J._charpoly_coefficients() + sage: a[0] X1^2 - X2^2 - X3^2 - X4^2 - sage: _charpoly_sage_input("X1^2 - X2^2 - X3^2 - X4^2") + sage: _charpoly_sage_input(str(a[0])) 'X[0]**2 - X[1]**2 - X[2]**2 - X[3]**2' """