Skip to content

Commit 7015c73

Browse files
committed
comment out tri{l,u}_indices_from tests
1 parent 35c98d1 commit 7015c73

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
@@ -1686,6 +1686,7 @@ def round(a: ArrayLike, decimals=0, out: Optional[OutArray] = None):
16861686

16871687

16881688
around = round
1689+
round_ = round
16891690

16901691

16911692
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)