Skip to content

Commit 88382f1

Browse files
authored
make failing to remove depot path in a loading test not error
1 parent 408ae90 commit 88382f1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/loading.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1618,6 +1618,9 @@ end
16181618
finally
16191619
oldBase64 === nothing || Base.register_root_module(oldBase64)
16201620
copy!(DEPOT_PATH, original_depot_path)
1621-
rm(depot_path, force=true, recursive=true)
1621+
try # don't error if removing depot failed
1622+
rm(depot_path, force=true, recursive=true)
1623+
catch
1624+
end
16221625
end
16231626
end

0 commit comments

Comments
 (0)