diff --git a/test/precompile.jl b/test/precompile.jl index 17015c5a650d4..eb429297a1e78 100644 --- a/test/precompile.jl +++ b/test/precompile.jl @@ -1,6 +1,7 @@ # This file is a part of Julia. License is MIT: https://julialang.org/license original_depot_path = copy(Base.DEPOT_PATH) +original_load_path = copy(Base.LOAD_PATH) using Test, Distributed, Random @@ -1749,4 +1750,5 @@ end empty!(Base.DEPOT_PATH) append!(Base.DEPOT_PATH, original_depot_path) - +empty!(Base.LOAD_PATH) +append!(Base.LOAD_PATH, original_load_path)