File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -411,12 +411,13 @@ bodymethtest5(x, y=Dict(1=>2)) = 5
411
411
412
412
# https://github.com/timholy/Revise.jl/issues/550
413
413
using Pkg
414
+ oldenv = Pkg. project (). path
414
415
try
415
416
# we test with the old version of CBinding, let's do it in an isolated environment
416
- Pkg. activate (; temp= true )
417
+ Pkg. activate (; temp= true , io = devnull )
417
418
418
419
@info " Adding CBinding to the environment for test purposes"
419
- Pkg. add (; name= " CBinding" , version= " 0.9.4" ) # `@cstruct` isn't defined for v1.0 and above
420
+ Pkg. add (; name= " CBinding" , version= " 0.9.4" , io = devnull ) # `@cstruct` isn't defined for v1.0 and above
420
421
421
422
m = Module ()
422
423
Core. eval (m, :(using CBinding))
@@ -431,7 +432,7 @@ bodymethtest5(x, y=Dict(1=>2)) = 5
431
432
pc = methoddefs! (signatures, frame; define= false )
432
433
@test ! isempty (signatures) # really we just need to know that `methoddefs!` completed without getting stuck
433
434
finally
434
- Pkg. activate () # back to the original environment
435
+ Pkg. activate (oldenv; io = devnull ) # back to the original environment
435
436
end
436
437
end
437
438
You can’t perform that action at this time.
0 commit comments