Skip to content

Commit 9d508c9

Browse files
committed
Minor cleanup
1 parent 80ea8ba commit 9d508c9

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

test/Project.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
33
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
44
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
5-
GPUArrays = "0c68f7d7-f131-5f86-a1c3-88cf8149b2d7"
65
JLArrays = "27aeb0d3-9eb9-45fb-866b-73c2ecf80fcb"
76
JLD2 = "033835bb-8acc-5ee8-8aae-3f567f8a3819"
87
KernelAbstractions = "63c18a36-062a-441e-b654-da1e3ab1ce7c"

test/testsuite/jld2ext.jl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ using JLD2
22
using Test
33

44
@testsuite "ext/jld2" (AT, eltypes) -> begin
5-
for ET in eltypes
6-
@testset "$ET" begin
7-
# Test with different array sizes and dimensions
8-
for dims in ((2,), (2, 2), (2, 2, 2))
9-
# Create a random array
10-
x = AT(rand(ET, dims...))
5+
mktempdir() do dir
6+
for ET in eltypes
7+
@testset "$ET" begin
8+
# Test with different array sizes and dimensions
9+
for dims in ((2,), (2, 2), (2, 2, 2))
10+
# Create a random array
11+
x = AT(rand(ET, dims...))
1112

12-
# Save to a temporary file
13-
mktempdir() do dir
13+
# Save to a temporary file
1414
file = joinpath(dir, "test.jld2")
1515

1616
# Save and load

0 commit comments

Comments
 (0)