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_small_regressions
1 parent 8fb1a61 commit 5f84c9eCopy full SHA for 5f84c9e
torch_np/tests/numpy_tests/core/test_indexing.py
@@ -485,6 +485,12 @@ def __array__(self):
485
assert_(isinstance(a[z, np.array(0)], np.ndarray))
486
assert_(isinstance(a[z, ArrayLike()], np.ndarray))
487
488
+ @pytest.mark.xfail(
489
+ reason=(
490
+ "torch does not support integer indexing int tensors with uints - "
491
+ "uint8 tensor indexes are treated as boolean masks (deprecated)"
492
+ )
493
494
def test_small_regressions(self):
495
# Reference count of intp for index checks
496
a = np.array([0])
0 commit comments