()
| 241 | |
| 242 | #[test] |
| 243 | fn test_len() { |
| 244 | let gil = Python::acquire_gil(); |
| 245 | let py = gil.python(); |
| 246 | let tuple = (1, 2, 3).to_py_object(py); |
| 247 | assert_eq!(3, tuple.len(py)); |
| 248 | assert_eq!((1, 2, 3), tuple.into_object().extract(py).unwrap()); |
| 249 | } |
| 250 | } |
nothing calls this directly
no test coverage detected