Skip to content

Commit 4a6939c

Browse files
committed
xfail test_boolean_assignment_needs_api
1 parent 49f684b commit 4a6939c

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
@@ -245,6 +245,7 @@ def f(a, v):
245245
assert_raises((ValueError, RuntimeError), f, a, [1, 2, 3])
246246
assert_raises((ValueError, RuntimeError), f, a[:1], [1, 2, 3])
247247

248+
@pytest.mark.xfail("torch does not support object dtype")
248249
def test_boolean_assignment_needs_api(self):
249250
# See also gh-7666
250251
# This caused a segfault on Python 2 due to the GIL not being

0 commit comments

Comments
 (0)