(self, dtype, mode)
| 157 | @pytest.mark.parametrize("dtype", list(np.typecodes["All"])[1:] + ["i,O"]) |
| 158 | @pytest.mark.parametrize("mode", ["raise", "wrap", "clip"]) |
| 159 | def test_empty(self, dtype, mode): |
| 160 | arr = np.zeros(1000, dtype=dtype) |
| 161 | arr_copy = arr.copy() |
| 162 | |
| 163 | # Allowing empty values like this is weird... |
| 164 | np.put(arr, [1, 2, 3], []) |
| 165 | assert_array_equal(arr, arr_copy) |
nothing calls this directly
no test coverage detected