blob: 7a48077cf98bc68b4b6ba7cd163c0ca982bc56b1 (
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.])")
'';
})
|