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:
Anton Dyudin 2024-03-12 19:19:54 -07:00 committed by GitHub
parent 455726af51
commit 811ec16c8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.]"
'';
}
```