mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
3ec3d283c5
Categorizing the tests for the test driver helps with testing the test driver.
14 lines
260 B
Nix
14 lines
260 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.])")
|
|
'';
|
|
})
|