()
| 124 | #[test] |
| 125 | #[should_panic(expected = "already borrowed")] |
| 126 | fn test_borrow_mut_while_borrow() { |
| 127 | let (gil, owner) = prepare_env(); |
| 128 | let py = gil.python(); |
| 129 | let _ref = owner.string(py).borrow(); |
| 130 | owner.string(py).borrow_mut(); |
| 131 | } |
| 132 | |
| 133 | #[test] |
| 134 | fn test_try_borrow_while_borrow_mut() { |
nothing calls this directly
no test coverage detected