diff options
author | Aaron Meurer <asmeurer@gmail.com> | 2021-08-23 17:46:26 -0600 |
---|---|---|
committer | Aaron Meurer <asmeurer@gmail.com> | 2021-08-23 17:46:26 -0600 |
commit | 7091e4c48ce7af8a5263b6808a6d7976d4af4c6f (patch) | |
tree | d39ae9d6afa85cf3a30367740e7dd7a46990786c /numpy/array_api/_array_object.py | |
parent | 06ec0ec8dadf9e0e9f7518c9817b95f14df9d7be (diff) | |
download | numpy-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