Skip to content

Commit 38d314d

Browse files
committed
fix: tests-spec error for bool
1 parent 8e926ab commit 38d314d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

dev/generate-tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ def genspectests(specdict):
424424
425425
"""
426426
)
427-
f.write("import pytest\nimport kernels\n\n")
427+
f.write("import pytest\nimport numpy as np\nimport kernels\n\n")
428428
num = 1
429429
if spec.tests == []:
430430
f.write(

tests-cuda/test_3136_cuda_reducers.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,8 +430,7 @@ def test_2020_reduce_axis_none_std_no_mask_axis_none():
430430
out3 = ak.std(array[2], axis=None, mask_identity=True)
431431
assert out3 is None
432432
del array
433-
del out1
434-
del out2
433+
del out1, out2, out3
435434

436435

437436
def test_2020_reduce_axis_none_std():

0 commit comments

Comments
 (0)