diff --git a/test/test_tensordict.py b/test/test_tensordict.py index 27b53b686..63ebc8935 100644 --- a/test/test_tensordict.py +++ b/test/test_tensordict.py @@ -9865,7 +9865,7 @@ def check_weakref_count(weakref_list, expected): @pytest.mark.skipif( not torch.cuda.is_available(), - # and not torch.backends.mps.is_available(), + # and not torch.backends.mps.is_available(), reason="a device is required.", ) def test_cached_data_lock_device(self):