3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/tests/extra-python-packages.nix

14 lines
259 B
Nix

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.])")
'';
})