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