We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 746d7d4 commit 5ce0ce5Copy full SHA for 5ce0ce5
pytests/common/mod.rs
@@ -35,6 +35,7 @@ pub(super) async fn test_other_awaitables() -> PyResult<()> {
35
let functools = py.import("functools")?;
36
let time = py.import("time")?;
37
38
+ // spawn a blocking sleep in the threadpool executor - returns a task, not a coroutine
39
let task = pyo3_asyncio::get_event_loop(py).call_method1(
40
"run_in_executor",
41
(
0 commit comments