(self, dtype, mode)
| 170 | @pytest.mark.parametrize("dtype", list(np.typecodes["All"])[1:] + ["i,O"]) |
| 171 | @pytest.mark.parametrize("mode", ["raise", "wrap", "clip"]) |
| 172 | def test_empty(self, dtype, mode): |
| 173 | arr = np.zeros(1000, dtype=dtype) |
| 174 | arr_copy = arr.copy() |
| 175 | |
| 176 | # Allowing empty values like this is weird... |
| 177 | np.put(arr, [1, 2, 3], []) |
| 178 | assert_array_equal(arr, arr_copy) |
nothing calls this directly
no test coverage detected