chore: checkpoint before Python removal

This commit is contained in:
2026-03-26 22:33:59 +00:00
parent 683cec9307
commit e568ddf82a
29972 changed files with 11269302 additions and 2 deletions

View File

@@ -0,0 +1,43 @@
use futures::{
executor::block_on,
future::{self, FutureExt},
join, ready,
task::Poll,
try_join,
};
#[test]
fn ready() {
block_on(future::poll_fn(|_| {
ready!(Poll::Ready(()),);
Poll::Ready(())
}))
}
#[test]
fn poll() {
use futures::poll;
block_on(async {
let _ = poll!(async {}.boxed(),);
})
}
#[test]
fn join() {
block_on(async {
let future1 = async { 1 };
let future2 = async { 2 };
join!(future1, future2,);
})
}
#[test]
fn try_join() {
block_on(async {
let future1 = async { 1 }.never_error();
let future2 = async { 2 }.never_error();
try_join!(future1, future2,)
})
.unwrap();
}