Skip to content

Commit 4718f43

Browse files
authored
remove a testset from MMAP that might cause CI to now fail on Windows (#59062)
1 parent 9578e4b commit 4718f43

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

stdlib/Mmap/test/runtests.jl

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -343,18 +343,18 @@ end
343343
GC.gc()
344344
rm(file)
345345

346-
@testset "test for #58982 - mmap with primitive types" begin
347-
file = tempname()
348-
primitive type PrimType9Bytes 9*8 end
349-
arr = Vector{PrimType9Bytes}(undef, 2)
350-
write(file, arr)
351-
m = mmap(file, Vector{PrimType9Bytes})
352-
@test length(m) == 2
353-
@test m[1] == arr[1]
354-
@test m[2] == arr[2]
355-
finalize(m); m = nothing; GC.gc()
356-
rm(file)
357-
end
346+
# test for #58982 - mmap with primitive types
347+
file = tempname()
348+
primitive type PrimType9Bytes 9*8 end
349+
arr = Vector{PrimType9Bytes}(undef, 2)
350+
write(file, arr)
351+
m = mmap(file, Vector{PrimType9Bytes})
352+
@test length(m) == 2
353+
@test m[1] == arr[1]
354+
@test m[2] == arr[2]
355+
finalize(m); m = nothing; GC.gc()
356+
rm(file)
357+
358358

359359
@testset "Docstrings" begin
360360
@test isempty(Docs.undocumented_names(Mmap))

0 commit comments

Comments
 (0)