summaryrefslogtreecommitdiff
path: root/numpy/array_api/tests/test_validation.py
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2022-05-28 15:28:19 +0200
committerRalf Gommers <ralf.gommers@gmail.com>2022-05-28 15:28:19 +0200
commite68c7064ce92d517e54b0188ca050491ed2069ff (patch)
tree17349806c744de9ff69c47229fd5bb1572bd23c9 /numpy/array_api/tests/test_validation.py
parent1b76ff5b5e1254c95c033fc449553ab67c5d96fe (diff)
downloadnumpy-e68c7064ce92d517e54b0188ca050491ed2069ff.tar.gz
DOC: move `import_array` and `import_umath` above `PyModule_Create`
This seems to be a slightly better order, because these initializations are independent of module creation, and if initialization fails then there's no reference to the new module floating around. See https://github.com/scipy/scipy/issues/16231 [skip actions]
Diffstat (limited to 'numpy/array_api/tests/test_validation.py')
0 files changed, 0 insertions, 0 deletions