()
| 210 | |
| 211 | #[test] |
| 212 | fn test_option_some_i64_max() { |
| 213 | Python::attach(|py| { |
| 214 | let original = WithOption { |
| 215 | label: "z".into(), |
| 216 | count: Some(i64::MAX), |
| 217 | }; |
| 218 | let py_obj = pythonize(py, &original).unwrap(); |
| 219 | let result: WithOption = depythonize(&py_obj).unwrap(); |
| 220 | assert_eq!(result, original); |
| 221 | }); |
| 222 | } |
nothing calls this directly
no test coverage detected