()
| 459 | |
| 460 | #[test] |
| 461 | fn casting_respects_dimensionality() { |
| 462 | Python::attach(|py| { |
| 463 | let ob = PyArray::from_slice(py, &[1_i32, 2, 3]).into_any(); |
| 464 | |
| 465 | assert!(ob.cast::<PyArray2<i32>>().is_err()); |
| 466 | }); |
| 467 | } |
| 468 | |
| 469 | #[test] |
| 470 | fn unbind_works() { |
nothing calls this directly
no test coverage detected