fixed another case where warnings need to be reset
fixed another case where warnings need to be reset

numpy/numpy-refactor,numpy/numpy-refactor,numpy/numpy-refactor,numpy/numpy-refactor,numpy/numpy-refactor