()
| 141 | #[test] |
| 142 | #[should_panic(expected = "already mutably borrowed")] |
| 143 | fn test_borrow_while_borrow_mut() { |
| 144 | let (gil, owner) = prepare_env(); |
| 145 | let py = gil.python(); |
| 146 | let _mut_ref = owner.string(py).borrow_mut(); |
| 147 | owner.string(py).borrow(); |
| 148 | } |
nothing calls this directly
no test coverage detected