From d5fd76f7186e6899aaf99c883dd47ac762a8aadf Mon Sep 17 00:00:00 2001 From: Thibaut Lienart Date: Thu, 19 Dec 2019 16:05:03 +0100 Subject: [PATCH] changing test for CSV > 0.5.19 (#68) --- Project.toml | 2 +- test/extra_tests.jl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Project.toml b/Project.toml index 6f515bf..50d616d 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "ScientificTypes" uuid = "321657f4-b219-11e9-178b-2701a2544e81" authors = ["Anthony D. Blaom "] -version = "0.3.0" +version = "0.3.1" [deps] CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597" diff --git a/test/extra_tests.jl b/test/extra_tests.jl index 12e100f..76655e2 100644 --- a/test/extra_tests.jl +++ b/test/extra_tests.jl @@ -6,8 +6,8 @@ if VERSION ≥ v"1.3.0-" data = CSV.read(tmp, threaded=true) - # data.Column1 and data.Column2 are LazyArrays - @test startswith("$(typeof(data.Column1))", "LazyArrays.") + # data.Column1 and data.Column2 are Column2 (as of CSV 5.19) + @test startswith("$(typeof(data.Column1))", "CSV.Column2") dc = coerce(data, autotype(data, :discrete_to_continuous)) @test scitype(dc) == Table{AbstractArray{Continuous,1}}