Skip to content

Commit 613dacb

Browse files
committed
Skip failing test.
1 parent 0655821 commit 613dacb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test_sparse.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1557,6 +1557,7 @@ def test_resize(self):
15571557
self._test_resize_shape([1, 1], [1, 2, 3], [2, 2, 3],
15581558
[1, 1], [1, 2, 0], [2, 2, 0])
15591559

1560+
@skipIfRocm
15601561
def test_is_nonzero(self):
15611562
self.assertTrue(torch.sparse_coo_tensor(([0],), 1., (1,)).is_nonzero())
15621563
self.assertFalse(torch.sparse_coo_tensor(([0],), 0., (1,)).is_nonzero())

0 commit comments

Comments
 (0)