Skip to content
File

Blob: src/workerd/server/tests/python/numpy/worker.py

python9 lines
1import numpy as np
2from workers import WorkerEntrypoint
3 
4 
5class Default(WorkerEntrypoint):
6 def test(self):
7 res = np.arange(12).reshape((3, -1))[::-2, ::-2]
8 assert str(res) == "[[11 9]\n [ 3 1]]"