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_broken_sequence_not_nd_index
1 parent 5f84c9e commit 02f154aCopy full SHA for 02f154a
torch_np/tests/numpy_tests/core/test_indexing.py
@@ -542,8 +542,9 @@ class TupleSubclass(tuple):
542
# Unlike the non nd-index:
543
assert_(arr[index,].shape != (1,))
544
545
+ @pytest.mark.xfail(reason="XXX: low-prio behaviour to support")
546
def test_broken_sequence_not_nd_index(self):
- # See gh-5063:
547
+ # See https://github.com/numpy/numpy/issues/5063
548
# If we have an object which claims to be a sequence, but fails
549
# on item getting, this should not be converted to an nd-index (tuple)
550
# If this object happens to be a valid index otherwise, it should work
0 commit comments