Skip to content

Commit 116ba91

Browse files
authored
fix Base.unreference_module call (#4057)
1 parent 6ed1d2f commit 116ba91

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/artifacts.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -731,8 +731,7 @@ end
731731

732732
# Force Julia to re-load ArtifactOverrideLoading from scratch
733733
pkgid = Base.PkgId(aol_uuid, "ArtifactOverrideLoading")
734-
delete!(Base.module_keys, Base.loaded_modules[pkgid])
735-
delete!(Base.loaded_modules, pkgid)
734+
Base.unreference_module(pkgid)
736735
touch(joinpath(depot_container, "ArtifactOverrideLoading", "src", "ArtifactOverrideLoading.jl"))
737736

738737
# Verify that the hash-based overrides (and clears) worked

0 commit comments

Comments
 (0)