repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
python3Packages.xknx: 1.1.0 -> 1.2.0
[NixPkgs.git]
/
nixos
/
tests
/
extra-python-packages.nix
blob
7a48077cf98bc68b4b6ba7cd163c0ca982bc56b1
1
import ./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
})