diff options
author | Anton Dyudin <ohAitch@gmail.com> | 2024-03-12 19:19:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-12 19:19:54 -0700 |
commit | 811ec16c8a27c252815e2e33ad24315afdf08f31 (patch) | |
tree | 3cb67d3b4235be0709f6d0709cc3b924c80e9a65 /nixos | |
parent | 455726af5196bd3d0b9de6d662269fc51f466f04 (diff) | |
download | nixlib-811ec16c8a27c252815e2e33ad24315afdf08f31.tar nixlib-811ec16c8a27c252815e2e33ad24315afdf08f31.tar.gz nixlib-811ec16c8a27c252815e2e33ad24315afdf08f31.tar.bz2 nixlib-811ec16c8a27c252815e2e33ad24315afdf08f31.tar.lz nixlib-811ec16c8a27c252815e2e33ad24315afdf08f31.tar.xz nixlib-811ec16c8a27c252815e2e33ad24315afdf08f31.tar.zst nixlib-811ec16c8a27c252815e2e33ad24315afdf08f31.zip |
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
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/doc/manual/development/writing-nixos-tests.section.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/doc/manual/development/writing-nixos-tests.section.md b/nixos/doc/manual/development/writing-nixos-tests.section.md index 84b247fd2042..50886376c240 100644 --- a/nixos/doc/manual/development/writing-nixos-tests.section.md +++ b/nixos/doc/manual/development/writing-nixos-tests.section.md @@ -261,7 +261,7 @@ added using the parameter `extraPythonPackages`. For example, you could add testScript = '' import numpy as np - assert str(np.zeros(4) == "array([0., 0., 0., 0.])") + assert str(np.zeros(4)) == "[0. 0. 0. 0.]" ''; } ``` |