Add AbstractAlgebra.doctestsetup() helper and use it, then regenerate doctests so they benefit from @show_name
#3718
Triggered via pull request
November 8, 2024 01:55
Status
Cancelled
Total duration
54m 44s
Artifacts
–
CI.yml
on: pull_request
Documentation
17m 1s
Matrix: test
Annotations
6 errors and 1 notice
Documentation:
src/Matrix.jl#L4165
doctest failure in ~/work/AbstractAlgebra.jl/AbstractAlgebra.jl/src/Matrix.jl:4165-4187
```jldoctest; setup = :(using AbstractAlgebra)
julia> R, = residue_ring(ZZ, 7);
julia> S = matrix_space(R, 4, 4)
Matrix space of 4 rows and 4 columns
over residue ring of integers modulo 7
julia> T, y = polynomial_ring(R, :y)
(Univariate polynomial ring in y over R, y)
julia> M = S([R(1) R(2) R(4) R(3); R(2) R(5) R(1) R(0);
R(6) R(1) R(3) R(2); R(1) R(1) R(3) R(5)])
[1 2 4 3]
[2 5 1 0]
[6 1 3 2]
[1 1 3 5]
julia> A = charpoly(T, M)
y^4 + 2*y^2 + 6*y + 2
julia> A = charpoly(M)
x^4 + 2*x^2 + 6*x + 2
```
Subexpression:
T, y = polynomial_ring(R, :y)
Evaluated output:
(Univariate polynomial ring in y over residue ring, y)
Expected output:
(Univariate polynomial ring in y over R, y)
diff =
Warning: Diff output requires color.
(Univariate polynomial ring in y over R, residue ring, y)
|
Documentation:
src/Matrix.jl#L4371
doctest failure in ~/work/AbstractAlgebra.jl/AbstractAlgebra.jl/src/Matrix.jl:4371-4390
```jldoctest; setup = :(using AbstractAlgebra)
julia> R = GF(13)
Finite field F_13
julia> S, y = polynomial_ring(R, :y)
(Univariate polynomial ring in y over R, y)
julia> M = R[7 6 1;
7 7 5;
8 12 5]
[7 6 1]
[7 7 5]
[8 12 5]
julia> A = minpoly(S, M)
y^2 + 10*y
julia> A = minpoly(M)
x^2 + 10*x
```
Subexpression:
S, y = polynomial_ring(R, :y)
Evaluated output:
(Univariate polynomial ring in y over finite field F_13, y)
Expected output:
(Univariate polynomial ring in y over R, y)
diff =
Warning: Diff output requires color.
(Univariate polynomial ring in y over R, finite field F_13, y)
|
Documentation:
src/NCPoly.jl#L748
doctest failure in ~/work/AbstractAlgebra.jl/AbstractAlgebra.jl/src/NCPoly.jl:748-754
```jldoctest; setup = :(using AbstractAlgebra)
julia> R, x = polynomial_ring(ZZ, :x)
(Univariate polynomial ring in x over integers, x)
julia> S, y = polynomial_ring(R, :y)
(Univariate polynomial ring in y over R, y)
```
Subexpression:
S, y = polynomial_ring(R, :y)
Evaluated output:
(Univariate polynomial ring in y over univariate polynomial ring, y)
Expected output:
(Univariate polynomial ring in y over R, y)
diff =
Warning: Diff output requires color.
(Univariate polynomial ring in y over R, univariate polynomial ring, y)
|
Documentation
Process completed with exit code 1.
|
test (1.10, macOS-latest)
Canceling since a higher priority waiting request for 'Run tests-refs/pull/1895/merge-true' exists
|
test (1.10, macOS-latest)
The operation was canceled.
|
test (1.6, ubuntu-latest)
[setup-julia] If you are testing 1.6 as a Long Term Support (lts) version, consider using the new "lts" version specifier instead of "1.6" explicitly, which will automatically resolve the current lts.
|