Fixed lint #6
Annotations
11 errors and 3 warnings
Test all files (sage -t --all --long):
src/sage/algebras/quatalg/quaternion_algebra.py#L2146
Failed example:: Exception raised:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 712, 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.QuaternionOrder.isomorphism_to[3]>", line 1, in <module>
iso = O0.isomorphism_to(O1)
^^^^^^^^^^^^^^^^^^^^^
File "/sage/src/sage/algebras/quatalg/quaternion_algebra.py", line 2303, in isomorphism_to
for alpha in [1] + Q.gens():
~~~~^~~~~~~~~~
TypeError: can only concatenate list (not "tuple") to list
|
Test all files (sage -t --all --long):
src/sage/algebras/quatalg/quaternion_algebra.py#L2147
Failed example:: Exception raised:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 712, 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.QuaternionOrder.isomorphism_to[4]>", line 1, in <module>
iso
NameError: name 'iso' is not defined
|
Test all files (sage -t --all --long):
src/sage/algebras/quatalg/quaternion_algebra.py#L2154
Failed example:: Exception raised:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 712, 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.QuaternionOrder.isomorphism_to[5]>", line 1, in <module>
iso(Integer(1))
^^^
NameError: name 'iso' is not defined
|
Test all files (sage -t --all --long):
src/sage/algebras/quatalg/quaternion_algebra.py#L2156
Failed example:: Exception raised:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 712, 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.QuaternionOrder.isomorphism_to[6]>", line 1, in <module>
iso(i)
^^^
NameError: name 'iso' is not defined
|
Test all files (sage -t --all --long):
src/sage/algebras/quatalg/quaternion_algebra.py#L2158
Failed example:: Got:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 712, 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.QuaternionOrder.isomorphism_to[7]>", line 1, in <module>
iso(i/Integer(3))
^^^
NameError: name 'iso' is not defined
|
Test all files (sage -t --all --long):
src/sage/algebras/quatalg/quaternion_algebra.py#L2165
Failed example:: Exception raised:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 712, 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.QuaternionOrder.isomorphism_to[8]>", line 1, in <module>
gamma = O0.isomorphism_to(O1, conjugator=True); gamma
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/sage/src/sage/algebras/quatalg/quaternion_algebra.py", line 2303, in isomorphism_to
for alpha in [1] + Q.gens():
~~~~^~~~~~~~~~
TypeError: can only concatenate list (not "tuple") to list
|
Test all files (sage -t --all --long):
src/sage/algebras/quatalg/quaternion_algebra.py#L2167
Failed example:: Got: False
|
Test all files (sage -t --all --long):
src/sage/algebras/quatalg/quaternion_algebra.py#L2169
Failed example:: Got: False
|
Test all files (sage -t --all --long):
src/sage/algebras/quatalg/quaternion_algebra.py#L2171
Failed example:: Exception raised:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 712, 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.QuaternionOrder.isomorphism_to[11]>", line 1, in <module>
O1.unit_ideal() == ~gamma * O0 * gamma
^^^^^^
TypeError: bad operand type for unary ~: 'function'
|
Test all files (sage -t --all --long):
src/sage/algebras/quatalg/quaternion_algebra.py#L2187
Failed example:: Exception raised:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 712, 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.QuaternionOrder.isomorphism_to[18]>", line 1, in <module>
iso = O0.isomorphism_to(O1); iso
^^^^^^^^^^^^^^^^^^^^^
File "/sage/src/sage/algebras/quatalg/quaternion_algebra.py", line 2303, in isomorphism_to
for alpha in [1] + Q.gens():
~~~~^~~~~~~~~~
TypeError: can only concatenate list (not "tuple") to list
|
Test changed files (sage -t --new)
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/download-artifact@v3, jakebailey/pyright-action@v1, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Test all files (sage -t --all --long):
src/sage/interfaces/gp.py#L799
Variable 'pi_def' referenced here was set only in doctest marked '# needs sage.libs.pari sage.symbolic'
|
Test all files (sage -t --all --long):
src/sage/matrix/matrix1.pyx#L729
Variable 'b' referenced here was set only in doctest marked '# needs numpy'
|
The logs for this run have expired and are no longer available.
Loading