Skip to content

Commit 6220a2c

Browse files
committed
xfail test_void_scalar_empty_tuple
1 parent b5d6a83 commit 6220a2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

torch_np/tests/numpy_tests/core/test_indexing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ def test_empty_tuple_index(self):
114114
pytest.xfail("torch_np does not have scalars")
115115
assert_(isinstance(a[()], np.int_))
116116

117+
@pytest.mark.xfail(reason="torch does not have an equivalent to np.void")
117118
def test_void_scalar_empty_tuple(self):
118119
s = np.zeros((), dtype='V4')
119120
assert_equal(s[()].dtype, s.dtype)

0 commit comments

Comments
 (0)