()
| 127 | |
| 128 | #[test] |
| 129 | fn test_rename_all_round_trip() { |
| 130 | Python::attach(|py| { |
| 131 | let original = WithRenameAll { |
| 132 | first_name: "Jane".into(), |
| 133 | last_name: "Doe".into(), |
| 134 | year_of_birth: 1990, |
| 135 | }; |
| 136 | let py_obj = pythonize(py, &original).unwrap(); |
| 137 | let result: WithRenameAll = depythonize(&py_obj).unwrap(); |
| 138 | assert_eq!(result, original); |
| 139 | }); |
| 140 | } |
| 141 | |
| 142 | // --- Unknown fields (default: ignore) --- |
| 143 |
nothing calls this directly
no test coverage detected