From 2269f7d9624a9fec84fdc4be777bf181ea9c3fd1 Mon Sep 17 00:00:00 2001 From: kailaix Date: Tue, 16 Mar 2021 21:54:49 -0700 Subject: [PATCH] Update core.jl --- test/core.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/core.jl b/test/core.jl index 533744583..3d4c59571 100644 --- a/test/core.jl +++ b/test/core.jl @@ -137,8 +137,8 @@ end @testset "has_gpu" begin @test has_gpu() in [true, false] - @test_nowarn gpu_info() - @test_nowarn get_gpu() + @test isnothing(gpu_info()) + @test isa(get_gpu(), NamedTuple) end @testset "timeline" begin @@ -194,4 +194,4 @@ end catch @test true end -end \ No newline at end of file +end