We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2314a6 commit 9f3f0a4Copy full SHA for 9f3f0a4
test/model_traits.jl
@@ -72,9 +72,10 @@ struct FooMeasure <: MLJType end
72
@test name(Float64) == "Float64"
73
74
df = DataFrame(a=randn(2), b=randn(2))
75
- if VERSION < v"1.6-"
+ @static if VERSION < v"1.6-"
76
@test string(M.coretype(typeof(df))) == "DataFrame"
77
else
78
@test string(M.coretype(typeof(df))) == "typename(DataFrame)"
79
end
80
+ @test M.name(typeof(df)) == "DataFrame"
81
0 commit comments