diff --git a/cuda_core/tests/test_device.py b/cuda_core/tests/test_device.py index 852ccc6d9..3fed6c32a 100644 --- a/cuda_core/tests/test_device.py +++ b/cuda_core/tests/test_device.py @@ -37,18 +37,26 @@ def test_device_set_current(deinit_cuda): assert handle_return(driver.cuCtxGetCurrent()) is not None -def test_device_repr(): +def test_device_repr(deinit_cuda): device = Device(0) + device.set_current() assert str(device).startswith("