mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 19:51:17 +00:00
doc: Fix test in writing-nixos-tests.section.md (#294902)
* Fix test in writing-nixos-tests.section.md That paren couldn't possibly have been in the right place. (I do not have nix set up to generate `writing-nixos-tests.section.xml` or verify the test or anything, please do whatever is appropriate with this trivial change) * doc: fix numpy example test value Making the test test the right thing made it fail see PR discussion
This commit is contained in:
parent
455726af51
commit
811ec16c8a
|
@ -261,7 +261,7 @@ added using the parameter `extraPythonPackages`. For example, you could add
|
||||||
|
|
||||||
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)) == "[0. 0. 0. 0.]"
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue