()
| 5 | }); |
| 6 | |
| 7 | fn prepare_env() -> (GILGuard, Owner) { |
| 8 | let gil = Python::acquire_gil(); |
| 9 | let owner = { |
| 10 | let py = gil.python(); |
| 11 | Owner::create_instance(py, "new".to_owned()).unwrap() |
| 12 | }; |
| 13 | (gil, owner) |
| 14 | } |
| 15 | |
| 16 | #[test] |
| 17 | fn test_leaked_borrow() { |
no test coverage detected