Skip to content

Commit 895c540

Browse files
committed
xfail test_object_assign
1 parent aed357f commit 895c540

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
@@ -826,6 +826,7 @@ def test_boolean_index_cast_assign(self):
826826
assert_equal(zero_array[0, 1], 0)
827827

828828
class TestFancyIndexingEquivalence:
829+
@pytest.mark.xfail(reason="torch does not support object dtype")
829830
def test_object_assign(self):
830831
# Check that the field and object special case using copyto is active.
831832
# The right hand side cannot be converted to an array here.

0 commit comments

Comments
 (0)