()
| 137 | |
| 138 | #[test] |
| 139 | fn tuple_coroutine() { |
| 140 | Python::attach(|py| { |
| 141 | let func = wrap_pyfunction!(return_tuple, py).unwrap(); |
| 142 | let test = r#"import asyncio; assert asyncio.run(func()) == (42, 43)"#; |
| 143 | py_run!(py, func, &handle_windows(test)); |
| 144 | }) |
| 145 | } |
| 146 | |
| 147 | #[test] |
| 148 | fn cancelled_coroutine() { |
nothing calls this directly
no outgoing calls
no test coverage detected