()
| 109 | |
| 110 | #[test] |
| 111 | fn into_pyarray_vec() { |
| 112 | Python::attach(|py| { |
| 113 | let arr = vec![1, 2, 3].into_pyarray(py); |
| 114 | |
| 115 | assert_eq!(arr.readonly().as_slice().unwrap(), &[1, 2, 3]) |
| 116 | }); |
| 117 | } |
| 118 | |
| 119 | #[test] |
| 120 | fn into_pyarray_boxed_slice() { |
nothing calls this directly
no test coverage detected