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
8 changes: 0 additions & 8 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3121,11 +3121,6 @@ do_test("Switching free/dev") && @testset "Switching free/dev" begin
old_depots = copy(DEPOT_PATH)
empty!(DEPOT_PATH)
push!(DEPOT_PATH, depot)
# Skip cloning the General registry since that is slow and unnecessary
ENV["JULIA_PKG_SERVER"] = ""
registries = isdefined(Pkg.Types, :DEFAULT_REGISTRIES) ? Pkg.Types.DEFAULT_REGISTRIES : Pkg.Registry.DEFAULT_REGISTRIES
old_registries = copy(registries)
empty!(registries)
# Ensure we start fresh with no dependencies
old_project = Base.ACTIVE_PROJECT[]
Base.ACTIVE_PROJECT[] = joinpath(depot, "environments", "v$(VERSION.major).$(VERSION.minor)", "Project.toml")
Expand Down Expand Up @@ -3160,9 +3155,6 @@ do_test("Switching free/dev") && @testset "Switching free/dev" begin
# Restore internal Pkg data
empty!(DEPOT_PATH)
append!(DEPOT_PATH, old_depots)
for pr in old_registries
push!(registries, pr)
end
Base.ACTIVE_PROJECT[] = old_project

push!(to_remove, depot)
Expand Down
Loading