Skip to content

Commit cd02e19

Browse files
committed
comment out tri{l,u}_indices_from tests
1 parent e3c82de commit cd02e19

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

torch_np/_funcs_impl.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1667,6 +1667,7 @@ def round(a: ArrayLike, decimals=0, out: Optional[OutArray] = None):
16671667

16681668

16691669
around = round
1670+
round_ = round
16701671

16711672

16721673
def real_if_close(a: ArrayLike, tol=100):

torch_np/tests/test_basic.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,13 @@ def test_several(self, func):
335335
assert isinstance(result, w.ndarray)
336336

337337

338-
single_to_seq_funcs = [w.nonzero, w.tril_indices_from, w.triu_indices_from, w.where]
338+
single_to_seq_funcs = (
339+
w.nonzero,
340+
# https://github.com/Quansight-Labs/numpy_pytorch_interop/pull/121#discussion_r1172824545
341+
# w.tril_indices_from,
342+
# w.triu_indices_from,
343+
w.where,
344+
)
339345

340346

341347
@pytest.mark.parametrize("func", single_to_seq_funcs)

0 commit comments

Comments
 (0)