Skip to content

Commit c438978

Browse files
committed
fixing tests
1 parent 4999f95 commit c438978

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Project.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"
1616
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
1717
Distances = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7"
1818
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
19+
MLJBase = "a7f614a8-145f-11e9-1d2a-a57a1082229d"
1920
MLJScientificTypes = "2e2323e0-db8b-457b-ae0d-bdfb3bc63afd"
2021
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
2122
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2223

2324
[targets]
24-
test = ["Test", "Tables", "Distances", "CategoricalArrays", "InteractiveUtils", "DataFrames", "MLJScientificTypes"]
25+
test = ["Test", "Tables", "Distances", "CategoricalArrays", "InteractiveUtils", "DataFrames", "MLJScientificTypes", "MLJBase"]

test/data_utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ end
7070
setfull()
7171
ary = rand(10, 3)
7272
@test M.schema(ary) === nothing
73-
M.schema(::FI, ::Val{:table}, X; kw...) = schema(X; kw...) # this would be defined in MLJBase.jl
73+
M.schema(::FI, ::Val{:table}, X; kw...) = MLJBase.schema(X; kw...) # this would be defined in MLJBase.jl
7474
df = DataFrame(A = rand(10), B = categorical(rand('a':'c', 10)))
7575
sch = M.schema(df)
7676
@test sch.names == (:A, :B)

test/runtests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ using Test, MLJModelInterface
22
using ScientificTypes, MLJScientificTypes
33
using Tables, Distances, CategoricalArrays, InteractiveUtils
44
import DataFrames: DataFrame
5+
import MLJBase
56

67
const M = MLJModelInterface
78
const FI = M.FullInterface

0 commit comments

Comments
 (0)