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