blob: 1146bedd996f80b7aa3deefb5ea63aff992db5c5 (
plain) (
blame)
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.])")
'';
})
|