at 23.05-pre 259 B view raw
1import ./make-test-python.nix ({ ... }: 2 { 3 name = "extra-python-packages"; 4 5 extraPythonPackages = p: [ p.numpy ]; 6 7 nodes = { }; 8 9 testScript = '' 10 import numpy as np 11 assert str(np.zeros(4) == "array([0., 0., 0., 0.])") 12 ''; 13 })