File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ abstract_type(::Type) = Any
173
173
is_wrapper (:: Type ) = false # or `true`
174
174
supports_online (:: Type ) = false # or `true`
175
175
docstring (M:: Type ) = string (M) # some `String`
176
- docstring (Contructor :: Function ) = Base. Docs. doc (Constructor) |> string
176
+ docstring (Constructor :: Function ) = Base. Docs. doc (Constructor) |> string
177
177
is_supervised (:: Type ) = false # or `true`
178
178
human_name (M:: Type ) = snakecase (name (M), delim= ' ' ) # `name` defined below
179
179
orientation (:: Type ) = :loss # or `:score`, `:other`
Original file line number Diff line number Diff line change 46
46
@testset " docstring" begin
47
47
@test docstring (Foo (1 ,' x' )) == " Foo"
48
48
@test docstring (Fruit. RedApple (4 )) == " Main.Fruit.RedApple{Int64}"
49
- @test docstring (sin) = Base. Docs. doc (sin) |> string
49
+ @test docstring (sin) == Base. Docs. doc (sin) |> string
50
50
end
51
51
52
52
@testset " hyperparameter_ranges" begin
You can’t perform that action at this time.
0 commit comments