diff options
author | Sebastian Berg <sebastianb@nvidia.com> | 2023-05-03 13:06:13 +0200 |
---|---|---|
committer | Sebastian Berg <sebastianb@nvidia.com> | 2023-05-03 13:11:01 +0200 |
commit | 57f5cf0501dac874dc2863e598272d7bf61f296e (patch) | |
tree | 96eb7e2dfde036665371450b3ec8174ae0581287 /numpy/array_api/_set_functions.py | |
parent | c37a577c9df74e29c97a7bb010de0b37f83870bb (diff) | |
download | numpy-57f5cf0501dac874dc2863e598272d7bf61f296e.tar.gz |
MAINT: Remove gisnan, gisinf, and gisfinite from testing code
These were introduced many years ago when ufuncs were buggy and
could return NotImplemented sometimes. This has been fixed for
many years, though.
I suspect the errstate for `isfinite` is not required so removed it.
It was a 12+ year old work-around for warnings that really shouldn't
happen to begin with. (The commit mentions `np.isinf(np.inf)` giving
a warning, which doesn't make sense, I think.)
Diffstat (limited to 'numpy/array_api/_set_functions.py')
0 files changed, 0 insertions, 0 deletions