()
| 118 | |
| 119 | #[test] |
| 120 | fn into_pyarray_boxed_slice() { |
| 121 | Python::attach(|py| { |
| 122 | let arr = vec![1, 2, 3].into_boxed_slice().into_pyarray(py); |
| 123 | |
| 124 | assert_eq!(arr.readonly().as_slice().unwrap(), &[1, 2, 3]) |
| 125 | }); |
| 126 | } |
| 127 | |
| 128 | #[test] |
| 129 | fn into_pyarray_array() { |
nothing calls this directly
no test coverage detected