Skip to content

Commit bd21d96

Browse files
committed
fix: fixed assert in torchoperator tests
1 parent eafdf9d commit bd21d96

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

pytests/test_torchoperator.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,4 @@ def test_TorchOperator_batch_nd(par, dtype):
108108
yt = yt.detach().cpu().numpy()
109109

110110
assert yt.dtype == dtype
111-
assert_array_equal(
112-
y,
113-
)
111+
assert_array_equal(y, yt)

0 commit comments

Comments
 (0)