summaryrefslogtreecommitdiff
path: root/numpy/array_api/tests/test_validation.py
diff options
context:
space:
mode:
authorTim Hoffmann <2836374+timhoffm@users.noreply.github.com>2021-04-13 23:54:54 +0200
committerTim Hoffmann <2836374+timhoffm@users.noreply.github.com>2021-04-13 23:54:54 +0200
commit80e4bf97bc54a70870b0f7e02101f0d6bef4147c (patch)
tree747e86d39c9e17a75f1ce407d35b9219e985b58c /numpy/array_api/tests/test_validation.py
parent4c780c2d4b35a54cf45ca7d931efcaca73d0bf24 (diff)
downloadnumpy-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_validation.py')
0 files changed, 0 insertions, 0 deletions