Skip to content

Commit d87c30e

Browse files
committed
Try out simpler test case
1 parent 27b467c commit d87c30e

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

.github/workflows/test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,3 @@ jobs:
2828
pip install numpy pytest threadpoolctl
2929
- name: Run array test
3030
run: pytest
31-
env:
32-
OPENBLAS_CORETYPE: NEOVERSEV1

test/python/test_array.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,12 @@
66
#
77
# Licensed under the MIT License
88

9-
from pathlib import Path
10-
119
import numpy as np
1210

1311

1412
def test_array() -> None:
1513
np.show_runtime()
16-
test_array_path = Path(__file__).parent / "test_array.npy"
17-
test_array = np.load(test_array_path)
14+
test_array = np.arange(20000)
1815
norm = np.linalg.norm(test_array)
1916
print(f"norm = {norm}")
20-
assert np.isclose(norm, 1.0)
17+
assert np.isclose(norm, 1632931.9244843002)

0 commit comments

Comments
 (0)