From 9a52ccc1084161bf1afccc9409f45f799fdd7325 Mon Sep 17 00:00:00 2001 From: Alex Arslan Date: Tue, 3 Oct 2017 12:16:00 -0700 Subject: [PATCH] Fix use of Base.Test for recent move to stdlib --- test/runtests.jl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/runtests.jl b/test/runtests.jl index 978caac..2874b11 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -2,7 +2,12 @@ using FFTW using FFTW: fftw_vendor using AbstractFFTs: Plan, plan_inv -using Base.Test + +if isdefined(Base, :Test) && !Base.isdeprecated(Base, :Test) + using Base.Test +else + using Test +end # Base Julia issue #19892 # (test this first to make sure it happens before set_num_threads)