summaryrefslogtreecommitdiff
path: root/numpy/array_api/_array_object.py
diff options
context:
space:
mode:
authorAaron Meurer <asmeurer@gmail.com>2021-08-23 17:46:26 -0600
committerAaron Meurer <asmeurer@gmail.com>2021-08-23 17:46:26 -0600
commit7091e4c48ce7af8a5263b6808a6d7976d4af4c6f (patch)
treed39ae9d6afa85cf3a30367740e7dd7a46990786c /numpy/array_api/_array_object.py
parent06ec0ec8dadf9e0e9f7518c9817b95f14df9d7be (diff)
downloadnumpy-7091e4c48ce7af8a5263b6808a6d7976d4af4c6f.tar.gz
Use catch_warnings(record=True) instead of simplefilter('ignore')
There is a test that fails in the presence of simplefilter('ignore') (test_warnings.py). catch_warnings(record=True) seems to be a way to get the same behavior without failing the test.
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions