()
| 146 | |
| 147 | #[test] |
| 148 | fn into_pyarray_cannot_resize() { |
| 149 | Python::attach(|py| { |
| 150 | let arr = vec![1, 2, 3].into_pyarray(py); |
| 151 | |
| 152 | unsafe { |
| 153 | assert!(arr.resize(100).is_err()); |
| 154 | } |
| 155 | }); |
| 156 | } |
| 157 | |
| 158 | #[test] |
| 159 | fn into_pyarray_can_write() { |
nothing calls this directly
no test coverage detected