From b295faf92c17c18ca7ebb0a2d91dc486090da2be Mon Sep 17 00:00:00 2001 From: Avik Pal Date: Sun, 3 Nov 2024 22:07:02 -0500 Subject: [PATCH] chore: apply suggestions from code review Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- lib/MLDataDevices/test/xla_tests.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/MLDataDevices/test/xla_tests.jl b/lib/MLDataDevices/test/xla_tests.jl index 2b7ac62d15..dd59af96e2 100644 --- a/lib/MLDataDevices/test/xla_tests.jl +++ b/lib/MLDataDevices/test/xla_tests.jl @@ -5,7 +5,8 @@ using ArrayInterface: parameterless_type @test !MLDataDevices.functional(ReactantDevice) @test cpu_device() isa CPUDevice @test reactant_device() isa CPUDevice - @test_throws MLDataDevices.Internal.DeviceSelectionException reactant_device(; force=true) + @test_throws MLDataDevices.Internal.DeviceSelectionException reactant_device(; + force=true) @test_throws Exception default_device_rng(ReactantDevice()) end