☰
Debian Codegraph
@
0.28.0-1
/
/
pytests
/
test_tokio_multi_thread_asyncio.rs
☽
☼
pytests/test_tokio_multi_thread_asyncio.rs
code
plain
raw
symbols
SCIP
Apache-2.0
2021-2023 Andrew J Westlake <
[email protected]
>; 2024 David Hewitt <
[email protected]
>
debian/copyright
1
mod
common
;
2
mod
tokio_asyncio
;
3
4
use
pyo3
::
prelude
::*;
5
6
fn
main
() ->
pyo3
::
PyResult
<()> {
7
Python
::
initialize
();
8
9
Python
::
attach
(|
py
|
pyo3_async_runtimes
::
tokio
::
run
(
py
,
pyo3_async_runtimes
::
testing
::
main
()))
10
}