Skip to content

Commit

Permalink
changing test for CSV > 0.5.19 (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlienart authored Dec 19, 2019
1 parent a13d20b commit d5fd76f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ScientificTypes"
uuid = "321657f4-b219-11e9-178b-2701a2544e81"
authors = ["Anthony D. Blaom <[email protected]>"]
version = "0.3.0"
version = "0.3.1"

This comment has been minimized.

Copy link
@tlienart

tlienart Dec 19, 2019

Author Collaborator

[deps]
CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"
Expand Down
4 changes: 2 additions & 2 deletions test/extra_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

1 comment on commit d5fd76f

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/6928

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v0.3.1 -m "<description of version>" d5fd76f7186e6899aaf99c883dd47ac762a8aadf
git push origin v0.3.1

Please sign in to comment.