Skip to content

Commit 039d42e

Browse files
committed
single-line loading data in jldoctest
1 parent 7c9172a commit 039d42e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Mutagenesis/Mutagenesis.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ The `withenv("DATADEPS_ALWAYS_ACCEPT"=>"true")` disables the accept download pro
1515
```jldoctest
1616
julia> using MLDatasets: Mutagenesis
1717
18-
julia> train_x, train_y = withenv("DATADEPS_ALWAYS_ACCEPT"=>"true") do
19-
Mutagenesis.traindata();
20-
end
18+
julia> train_x, train_y = withenv("DATADEPS_ALWAYS_ACCEPT"=>"true") do Mutagenesis.traindata() end
2119
2220
julia> test_x, test_y = Mutagenesis.testdata();
2321

0 commit comments

Comments
 (0)