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 91b0aa5 commit 30fbfc6Copy full SHA for 30fbfc6
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
# TODO: make this version tie to compat in Project.toml
20
# or do this another safer way
@@ -103,4 +105,6 @@ end
103
105
for (k, v) in pairs(original_env)
104
106
ENV[k] = v
107
end
108
+
109
+Base.set_active_project(original_project)
110
0 commit comments