diff options
author | Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> | 2021-04-13 23:54:54 +0200 |
---|---|---|
committer | Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> | 2021-04-13 23:54:54 +0200 |
commit | 80e4bf97bc54a70870b0f7e02101f0d6bef4147c (patch) | |
tree | 747e86d39c9e17a75f1ce407d35b9219e985b58c /numpy/array_api/tests/test_set_functions.py | |
parent | 4c780c2d4b35a54cf45ca7d931efcaca73d0bf24 (diff) | |
download | numpy-80e4bf97bc54a70870b0f7e02101f0d6bef4147c.tar.gz |
DOC: Use: from numpy.testing import ...
instead of `import numpy.testing as npt`.
- all of NumPy's own tests themselves use the from-import variant
- There's `import numpy.typing as npt` around in some places so
we should not abbreviate another module import with `npt`.
Optional further enhancement: If this is a convention we also want
users to adopt, this should be mentioned in the module docstring of
`numpy.testing`.
Diffstat (limited to 'numpy/array_api/tests/test_set_functions.py')
0 files changed, 0 insertions, 0 deletions