summaryrefslogtreecommitdiff
path: root/numpy/lib/index_tricks.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2020-09-10 09:15:58 -0500
committerSebastian Berg <sebastian@sipsolutions.net>2020-09-10 16:15:29 -0500
commit295c8af73969d8101af5e91c9c45b7adbadee077 (patch)
treeb35c3893669d434ca9991e3ae64a1de765ec562e /numpy/lib/index_tricks.py
parent3a9588ae8041d611cb1df4be849db88fefc5ea46 (diff)
downloadnumpy-295c8af73969d8101af5e91c9c45b7adbadee077.tar.gz
DEP: Change the financial name access warning to DeprecationWarning
Most end-users will probably not care about the warning in any case, since they will not just import the function but also use it. We can't just remove it, due to gh-17143: Astropy currently pulls in these functions (but doesn't use them), so that plain removal would lead to an unusable astropy if a new NumPy is installed. Even more annoying, due to a (faulty?) astropy pytest plugin, this affects all pytest runs (which do not use `PYTEST_DISABLE_PLUGIN_AUTOLOAD`). Changing it to a DeprecationWarning seems to remove the issue from pytest runs, this may make the warning less visible in rare cases where it should be seen, but hopefully it will still be visible enough.
Diffstat (limited to 'numpy/lib/index_tricks.py')
0 files changed, 0 insertions, 0 deletions