Skip to content

Commit 9b85d99

Browse files
committed
xfail test_cast_equivalence
1 parent 895c540 commit 9b85d99

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
@@ -859,6 +859,7 @@ def test_object_assign(self):
859859
arr[[0], ...] = [[[1], [2], [3], [4]]]
860860
assert_array_equal(arr, cmp_arr)
861861

862+
@pytest.mark.xfail(reason="torch does not support character/string dtypes")
862863
def test_cast_equivalence(self):
863864
# Yes, normal slicing uses unsafe casting.
864865
a = np.arange(5)

0 commit comments

Comments
 (0)