diff --git a/tests/test_project_gaussians.py b/tests/test_project_gaussians.py index c74c21394..9c709820b 100644 --- a/tests/test_project_gaussians.py +++ b/tests/test_project_gaussians.py @@ -4,7 +4,7 @@ device = torch.device("cuda:0") -@pytest.mark.skipif(not torch.cuda.is_available, reason="No CUDA device") +@pytest.mark.skipif(not torch.cuda.is_available(), reason="No CUDA device") def test_project_gaussians_forward(): from diff_rast import _torch_impl import diff_rast.cuda as _C