Skip to content

Commit a13a949

Browse files
authored
fix: import numpy for tests
1 parent 02858f8 commit a13a949

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dev/generate-tests.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,7 @@ def genspectests(specdict):
425425
"""
426426
)
427427
f.write("import pytest\nimport kernels\n\n")
428+
f.write("import pytest\nimport numpy as np\nimport kernels\n\n")
428429
num = 1
429430
if spec.tests == []:
430431
f.write(

0 commit comments

Comments
 (0)