Skip to content

Commit b5d6a83

Browse files
committed
Partially xfail test_empty_tuple_index
1 parent bf305c1 commit b5d6a83

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
@@ -111,6 +111,7 @@ def test_empty_tuple_index(self):
111111
assert_equal(a[()], a)
112112
assert_(a[()].base is a)
113113
a = np.array(0)
114+
pytest.xfail("torch_np does not have scalars")
114115
assert_(isinstance(a[()], np.int_))
115116

116117
def test_void_scalar_empty_tuple(self):

0 commit comments

Comments
 (0)