Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
bowen-bd committed Sep 25, 2023
1 parent 516c422 commit d5ba24b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_relaxation.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def test_relaxation(algorithm: Literal["legacy", "fast"]):


no_cuda = mark.skipif(not torch.cuda.is_available(), reason="No CUDA device")
no_mps = mark.skipif(not hasattr(torch.backends, "mps"), reason="No MPS device")
no_mps = mark.skipif(not torch.backends.mps.is_available(), reason="No MPS device")


@mark.parametrize(
Expand Down

0 comments on commit d5ba24b

Please sign in to comment.