We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
test_void_scalar_empty_tuple
1 parent b5d6a83 commit 6220a2cCopy full SHA for 6220a2c
torch_np/tests/numpy_tests/core/test_indexing.py
@@ -114,6 +114,7 @@ def test_empty_tuple_index(self):
114
pytest.xfail("torch_np does not have scalars")
115
assert_(isinstance(a[()], np.int_))
116
117
+ @pytest.mark.xfail(reason="torch does not have an equivalent to np.void")
118
def test_void_scalar_empty_tuple(self):
119
s = np.zeros((), dtype='V4')
120
assert_equal(s[()].dtype, s.dtype)
0 commit comments