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
vscode-extensions.sas.sas-lsp: 1.12.0 -> 1.13.0 (#367941)
[NixPkgs.git]
/
nixos
/
tests
/
nixos-test-driver
/
extra-python-packages.nix
blob
6c187e6055913053d69454ad16760553ecf46a0b
1
import ../make-test-python.nix (
2
{ ... }:
3
{
4
name = "extra-python-packages";
5
6
extraPythonPackages = p: [ p.numpy ];
7
8
nodes = { };
9
10
testScript = ''
11
import numpy as np
12
assert str(np.zeros(4) == "array([0., 0., 0., 0.])")
13
'';
14
}
15
)