MAINT: Configure hypothesis in np.test() for determinism, use of global tmpdir#16879
MAINT: Configure hypothesis in np.test() for determinism, use of global tmpdir#16879mattip merged 1 commit intonumpy:masterfrom
np.test() for determinism, use of global tmpdir#16879Conversation
|
Nice. As for pytest, it seems the This will still create a |
If Otherwise, we should have the same setup as the other ways to run tests which redirects everything to |
np.test() for determinism, use of global tmpdirnp.test() for determinism, use of global tmpdir
|
On the one hand, with this PR I no longer have a |
f297625 to
3d74fab
Compare
|
@mattip - I've moved the |
|
Thanks @Zac-HD |
@Zac-HD The warning still appears |
|
Maybe hypothesis is being imported somehow before the |
This PR fixes #16859, by ensuring that
np.test()is deterministic, and that any files written bynp.test()(or invokingpytestdirectly) go to the same global temporary directory instead of the current working directory.CC @mattip @rgommers @marload from the other PR, if you want to try this out.