Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions test/ambiguous.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
original_depot_path = copy(Base.DEPOT_PATH)
original_load_path = copy(Base.LOAD_PATH)
original_env = copy(ENV)
original_project = Base.active_project()
###

import Pkg
Expand All @@ -13,6 +14,7 @@ import Pkg
if Base.find_package("Aqua") === nothing
@debug "Installing Aqua.jl for SparseArrays.jl tests"
iob = IOBuffer()
Pkg.activate(; temp = true)
try
Pkg.add("Aqua", io=iob) # Needed for custom julia version resolve tests
catch
Expand Down Expand Up @@ -86,4 +88,6 @@ end
for (k, v) in pairs(original_env)
ENV[k] = v
end

Base.set_active_project(original_project)
###