From d6cb9f055da08538e84780071d2e670fd76b37c1 Mon Sep 17 00:00:00 2001 From: Carlo Lucibello Date: Mon, 6 Apr 2020 11:08:20 +0200 Subject: [PATCH] fix housing download --- src/data/housing.jl | 2 +- test/data.jl | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/data/housing.jl b/src/data/housing.jl index 61391304..06ecc339 100644 --- a/src/data/housing.jl +++ b/src/data/housing.jl @@ -50,7 +50,7 @@ function load() isfile(deps("housing.data")) && return @info "Downloading the Boston housing Dataset" - download_and_verify("$(cache_prefix)https://archive.ics.uci.edu/ml/machine-learning-databases/housing/housing.data", + download_and_verify("$(cache_prefix)http://archive.ics.uci.edu/ml/machine-learning-databases/housing/housing.data", deps("housing.data"), "baadf72995725d76efe787b664e1f083388c79ba21ef9a7990d87f774184735a") diff --git a/test/data.jl b/test/data.jl index b5faf359..20492323 100644 --- a/test/data.jl +++ b/test/data.jl @@ -78,9 +78,9 @@ end @testset "Housing" begin - @test_broken Housing.features() isa Matrix # test broken due to SSL certifate expiration problem - @test_broken size(Housing.features()) == (506, 13) + @test Housing.features() isa Matrix # test broken due to SSL certifate expiration problem + @test size(Housing.features()) == (506, 13) - @test_broken Housing.targets() isa Array{Float64} - @test_broken size(Housing.targets()) == (506, 1) + @test Housing.targets() isa Array{Float64} + @test size(Housing.targets()) == (506, 1) end