Skip to content

Commit 4b8852a

Browse files
committed
xfail test_character_assignment
1 parent 02f154a commit 4b8852a

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
@@ -593,6 +593,7 @@ def test_indexing_array_negative_strides(self):
593593
arr[slices] = 10
594594
assert_array_equal(arr, 10.)
595595

596+
@pytest.mark.xfail(reason="torch does not support character/string dtypes")
596597
def test_character_assignment(self):
597598
# This is an example a function going through CopyObject which
598599
# used to have an untested special path for scalars

0 commit comments

Comments
 (0)