Skip to content

Commit f55b22b

Browse files
committed
.
1 parent ba9489a commit f55b22b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

array_api_tests/test_array_object.py

-5
Original file line numberDiff line numberDiff line change
@@ -285,17 +285,12 @@ def test_getitem_arrays_and_ints(shape, data):
285285
key = tuple(key)
286286
out = x[key]
287287

288-
if sum(arr_index) > 1:
289-
breakpoint()
290-
291288
# XXX: how to properly check
292289
import numpy as np
293290
x_np = np.asarray(x)
294291
out_np = np.asarray(out)
295292
key_np = tuple(k if isinstance(k, int) else np.asarray(k) for k in key)
296293

297-
# print(f"{x.shape = } {out.shape = } -- {[k if isinstance(k, int) else k.shape for k in key]}")
298-
299294
np.testing.assert_equal(out_np, x_np[key_np])
300295

301296

0 commit comments

Comments
 (0)