Skip to content

Commit a207fc4

Browse files
committed
rm invalid test
1 parent 8c67c4a commit a207fc4

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

test/attemptors.jl

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,6 @@ MLJBase.transform(::DummyStatic, _, x, y) = hcat(x, y)
4242
MLJBase.package_name(::Type{<:DummyStatic}) = "DummyPackage"
4343
MLJBase.load_path(::Type{<:DummyStatic}) = "DummyPackage.Some.Thing.Different"
4444

45-
struct DummyStatic2 <: Static end
46-
MLJBase.transform(::DummyStatic2, _, x, y) = hcat(x, y)
47-
MLJBase.package_name(::Type{<:DummyStatic2}) = "DummyPackage"
48-
MLJBase.load_path(::Type{<:DummyStatic2}) = "DummyPackage.Some.Thing.Different"
49-
MLJBase.implemented_methods(::Type{<:DummyStatic2}) = Symbol[]
50-
5145
struct SupervisedTransformer <: Deterministic end
5246
MLJBase.fit(::SupervisedTransformer, verbosity, X, y) = (42, nothing, nothing)
5347
MLJBase.predict(::SupervisedTransformer, _, Xnew) = fill(4.5, length(Xnew))
@@ -69,11 +63,6 @@ MLJBase.load_path(::Type{<:SupervisedTransformer}) =
6963
operations, outcome = MLJTestInterface.operations(smach, X, y)
7064
@test operations == "transform"
7165
@test outcome == ""
72-
73-
smach = machine(DummyStatic2())
74-
operations, outcome = MLJTestInterface.operations(smach, X, y)
75-
@test operations == "transform"
76-
@test outcome == ""
7766
end
7867

7968
true

0 commit comments

Comments
 (0)