QuaternionAlgebra
: Unify ABC and factory
#13581
Annotations
5 errors
src/sage/algebras/quatalg/quaternion_algebra.py#L236
Failed example:: Exception raised:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 715, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/sage/src/sage/doctest/forker.py", line 1147, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.algebras.quatalg.quaternion_algebra.QuaternionAlgebraFactory.create_key[0]>", line 1, in <module>
from sage.algebras.quaternion_algebra import _QuaternionAlgebra
ImportError: cannot import name '_QuaternionAlgebra' from 'sage.algebras.quaternion_algebra' (/sage/src/sage/algebras/quaternion_algebra.py)
|
src/sage/algebras/quatalg/quaternion_algebra.py#L237
Failed example:: Exception raised:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 715, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/sage/src/sage/doctest/forker.py", line 1147, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.algebras.quatalg.quaternion_algebra.QuaternionAlgebraFactory.create_key[1]>", line 1, in <module>
_QuaternionAlgebra.create_key(-Integer(1),-Integer(1))
NameError: name '_QuaternionAlgebra' is not defined
|
src/sage/algebras/quatalg/quaternion_algebra.py#L290
Failed example:: Exception raised:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 715, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/sage/src/sage/doctest/forker.py", line 1147, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.algebras.quatalg.quaternion_algebra.QuaternionAlgebraFactory.create_object[0]>", line 1, in <module>
from sage.algebras.quaternion_algebra import _QuaternionAlgebra
ImportError: cannot import name '_QuaternionAlgebra' from 'sage.algebras.quaternion_algebra' (/sage/src/sage/algebras/quaternion_algebra.py)
|
src/sage/algebras/quatalg/quaternion_algebra.py#L291
Failed example:: Exception raised:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 715, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/sage/src/sage/doctest/forker.py", line 1147, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.algebras.quatalg.quaternion_algebra.QuaternionAlgebraFactory.create_object[1]>", line 1, in <module>
_QuaternionAlgebra.create_object("6.0", (QQ, -Integer(1), -Integer(1), ('i', 'j', 'k')))
NameError: name '_QuaternionAlgebra' is not defined
|
|
This job failed
Loading