Skip to content

Commit 7924462

Browse files
authored
stopgap fix for Aqua.jl on Julia 1.13 nightly (#843)
1 parent 2974509 commit 7924462

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

test/runtests.jl

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,20 @@ import LinearAlgebra: BLAS
1515
@info sprint(versioninfo)
1616
@info BLAS.get_config()
1717

18+
# FIXME https://github.com/JuliaTesting/Aqua.jl/issues/343
19+
piracies = if hasfield(Core.TypeName, :mt)
20+
(;treat_as_own=[GLM.wrkresp!, Base.:|])
21+
else
22+
@warn "Piracy testing disabled until Aqua.jl#343 is resolved"
23+
false
24+
end
25+
1826
@testset "Aqua" begin
1927
# we can't check for unbound type parameters
2028
# because we actually need one at one point for _same_family()
2129
Aqua.test_all(MixedModels; ambiguities=false, unbound_args=false,
2230
# XXX TODO: upstream this piracy
23-
piracies=(;treat_as_own=[GLM.wrkresp!, Base.:|]))
31+
piracies)
2432
end
2533

2634
@testset "ExplicitImports" begin

0 commit comments

Comments
 (0)