()
| 157 | |
| 158 | #[test] |
| 159 | fn into_pyarray_can_write() { |
| 160 | Python::attach(|py| { |
| 161 | let arr = vec![1, 2, 3].into_pyarray(py); |
| 162 | |
| 163 | py_run!(py, arr, "assert arr.flags['WRITEABLE']"); |
| 164 | py_run!(py, arr, "arr[1] = 4"); |
| 165 | }); |
| 166 | } |
| 167 | |
| 168 | #[test] |
| 169 | fn collapsed_into_pyarray() { |
nothing calls this directly
no test coverage detected