gh-39337: a few fixes for ruff PLC #224
Annotations
2 errors and 12 warnings
Test all files (sage -t --long src/sage/[g-o]*):
src/sage/matrix/matrix_gap.pyx#L66
Failed example:: Got: Failure in _test_monomial_coefficients:
Traceback (most recent call last):
File "/sage/src/sage/misc/sage_unittest.py", line 298, in run
test_method(tester=tester)
File "/sage/src/sage/categories/modules_with_basis.py", line 1498, in _test_monomial_coefficients
tester.assertEqual(self, self.parent().linear_combination(
File "/sage/src/sage/categories/modules.py", line 630, in linear_combination
return self.sum(coeff * element
File "/sage/src/sage/categories/additive_monoids.py", line 72, in sum
return sum(args, self.zero())
File "sage/structure/element.pyx", line 1219, in sage.structure.element.Element.__add__
return (<Element>left)._add_(right)
File "sage/matrix/matrix_gap.pyx", line 296, in sage.matrix.matrix_gap.Matrix_gap._add_
ans._libgap = left._libgap + (<Matrix_gap> right)._libgap
File "sage/structure/element.pyx", line 1219, in sage.structure.element.Element.__add__
return (<Element>left)._add_(right)
File "sage/libs/gap/element.pyx", line 990, in sage.libs.gap.element.GapElement._add_
sig_on()
sage.libs.gap.util.GAPError: Error, no method found! Error, no 1st choice method found for `+' on 2 arguments
------------------------------------------------------------
The following tests failed: _test_monomial_coefficients
Failure in _test_elements
The following tests failed: _test_elements
|
Test all files (sage -t --long src/sage/[g-o]*)
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
|
|
|
|
|
|
|
|
|
|
Post Checkout
The process '/usr/bin/git' failed with exit code 128
|
Loading