Skip to content

Commit be4d4de

Browse files
DilumAluthgeYuan-Ru-Lin
authored andcommitted
The issue with stdlib versions being fixed to 0.0.0 has been fixed in new versions of Julia
1 parent b40e715 commit be4d4de

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

test/runtests.jl

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
# The next two lines added as a workaround to
2-
# https://github.com/JuliaLang/Pkg.jl/issues/3628 (Julia 1.6):
31
import Pkg
4-
Pkg.add(name="Statistics", version=VERSION)
2+
3+
if Base.VERSION >= v"1.10-"
4+
# The issue with stdlib versions being fixed to 0.0.0 has been fixed in new versions of Julia
5+
else
6+
# The next line added as a workaround to
7+
# https://github.com/JuliaLang/Pkg.jl/issues/3628 (Julia 1.6):
8+
Pkg.add(name="Statistics", version=VERSION, uuid="10745b16-79ce-11e8-11f9-7d13ad32a3b2")
9+
end
510

611
using Test, MLJModels
712

0 commit comments

Comments
 (0)