Skip to content

Commit 02f154a

Browse files
committed
xfail test_broken_sequence_not_nd_index
1 parent 5f84c9e commit 02f154a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

torch_np/tests/numpy_tests/core/test_indexing.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,8 +542,9 @@ class TupleSubclass(tuple):
542542
# Unlike the non nd-index:
543543
assert_(arr[index,].shape != (1,))
544544

545+
@pytest.mark.xfail(reason="XXX: low-prio behaviour to support")
545546
def test_broken_sequence_not_nd_index(self):
546-
# See gh-5063:
547+
# See https://github.com/numpy/numpy/issues/5063
547548
# If we have an object which claims to be a sequence, but fails
548549
# on item getting, this should not be converted to an nd-index (tuple)
549550
# If this object happens to be a valid index otherwise, it should work

0 commit comments

Comments
 (0)