We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18b7fce commit 1d1b3ffCopy full SHA for 1d1b3ff
test/ambiguous.jl
@@ -5,6 +5,7 @@
5
original_depot_path = copy(Base.DEPOT_PATH)
6
original_load_path = copy(Base.LOAD_PATH)
7
original_env = copy(ENV)
8
+original_project = Base.active_project()
9
###
10
11
import Pkg
@@ -13,6 +14,7 @@ import Pkg
13
14
if Base.find_package("Aqua") === nothing
15
@debug "Installing Aqua.jl for SparseArrays.jl tests"
16
iob = IOBuffer()
17
+ Pkg.activate(; temp = true)
18
try
19
Pkg.add("Aqua", io=iob) # Needed for custom julia version resolve tests
20
catch
@@ -86,4 +88,6 @@ end
86
88
for (k, v) in pairs(original_env)
87
89
ENV[k] = v
90
end
91
+
92
+Base.set_active_project(original_project)
93
0 commit comments