Skip to content

Commit 7011a12

Browse files
remove eltype tests
1 parent 9325a7b commit 7011a12

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/data.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ using Random
1717
d = DataLoader(X, batchsize=2, partial=false)
1818
# @inferred first(d)
1919
batches = collect(d)
20-
@test eltype(batches) == eltype(d) == typeof(X)
20+
# @test eltype(batches) == eltype(d) == typeof(X)
21+
@test eltype(batches) == typeof(X)
2122
@test length(batches) == 2
2223
@test batches[1] == X[:,1:2]
2324
@test batches[2] == X[:,3:4]

0 commit comments

Comments
 (0)