def test_imod_array(self): with testing.NumpyError(divide='ignore', invalid='ignore'): self.check_array_array_op(operator.imod)