diff --git a/src/resampling.jl b/src/resampling.jl index 946362d7..3bb3b68e 100644 --- a/src/resampling.jl +++ b/src/resampling.jl @@ -575,7 +575,7 @@ function Base.show(io::IO, ::MIME"text/plain", e::PerformanceEvaluation) "with these fields:") println(io, " measure, operation, measurement, per_fold,\n"* " per_observation, fitted_params_per_fold,\n"* - " report_per_fold, train_test_rows") + " report_per_fold, train_test_rows", "model") println(io, "Extract:") show_color = MLJBase.SHOW_COLOR[] color_off() diff --git a/test/resampling.jl b/test/resampling.jl index 2a0c5a82..c170039a 100644 --- a/test/resampling.jl +++ b/test/resampling.jl @@ -794,9 +794,6 @@ end print(show_text) docstring_text = string(@doc(PerformanceEvaluation)) for fieldname in fieldnames(PerformanceEvaluation) - if fieldname == :model - continue - end @test contains(show_text, string(fieldname)) # string(text::Markdown.MD) converts `-` list items to `*`. @test contains(docstring_text, " * `$fieldname`")