Skip to content

Commit 6d930ce

Browse files
committed
also fixup tests
1 parent 718470d commit 6d930ce

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

pytests/test_async_std_uvloop.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ fn main() -> pyo3::PyResult<()> {
1212
return Ok(());
1313
}
1414

15+
// uvloop not yet supported on 3.14
16+
if py.version_info() >= (3, 14) {
17+
return Ok(());
18+
}
19+
1520
let uvloop = py.import("uvloop")?;
1621
uvloop.call_method0("install")?;
1722

pytests/test_tokio_current_thread_uvloop.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ fn main() -> pyo3::PyResult<()> {
2121
return Ok(());
2222
}
2323

24+
// uvloop not yet supported on 3.14
25+
if py.version_info() >= (3, 14) {
26+
return Ok(());
27+
}
28+
2429
let uvloop = py.import("uvloop")?;
2530
uvloop.call_method0("install")?;
2631

pytests/test_tokio_multi_thread_uvloop.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ fn main() -> pyo3::PyResult<()> {
1313
return Ok(());
1414
}
1515

16+
// uvloop not yet supported on 3.14
17+
if py.version_info() >= (3, 14) {
18+
return Ok(());
19+
}
20+
1621
let uvloop = py.import("uvloop")?;
1722
uvloop.call_method0("install")?;
1823

0 commit comments

Comments
 (0)