mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-09 12:05:50 +03:00
nixos/doc: test-driver: Note on skipTypeCheck with extraPythonPackages
This commit is contained in:
parent
ddb0914a7d
commit
84f1f79a8d
2 changed files with 6 additions and 1 deletions
|
@ -362,7 +362,6 @@ with foo_running:
|
||||||
... # Put `foo` through its paces
|
... # Put `foo` through its paces
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
`polling_condition` takes the following (optional) arguments:
|
`polling_condition` takes the following (optional) arguments:
|
||||||
|
|
||||||
`seconds_interval`
|
`seconds_interval`
|
||||||
|
@ -407,6 +406,9 @@ import ./make-test-python.nix
|
||||||
|
|
||||||
nodes = { };
|
nodes = { };
|
||||||
|
|
||||||
|
# Type checking on extra packages doesn't work yet
|
||||||
|
skipTypeCheck = true;
|
||||||
|
|
||||||
testScript = ''
|
testScript = ''
|
||||||
import numpy as np
|
import numpy as np
|
||||||
assert str(np.zeros(4) == "array([0., 0., 0., 0.])")
|
assert str(np.zeros(4) == "array([0., 0., 0., 0.])")
|
||||||
|
|
|
@ -680,6 +680,9 @@ import ./make-test-python.nix
|
||||||
|
|
||||||
nodes = { };
|
nodes = { };
|
||||||
|
|
||||||
|
# Type checking on extra packages doesn't work yet
|
||||||
|
skipTypeCheck = true;
|
||||||
|
|
||||||
testScript = ''
|
testScript = ''
|
||||||
import numpy as np
|
import numpy as np
|
||||||
assert str(np.zeros(4) == "array([0., 0., 0., 0.])")
|
assert str(np.zeros(4) == "array([0., 0., 0., 0.])")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue