From 0b8d5fa945ea6d5870be7a10ff0d858e654ce5d5 Mon Sep 17 00:00:00 2001 From: David Hewitt Date: Wed, 30 Oct 2024 06:49:55 +0000 Subject: [PATCH] use `unsendable` to test cell get / set --- tests/test_getter_setter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_getter_setter.rs b/tests/test_getter_setter.rs index 064511772da..cdc8136bede 100644 --- a/tests/test_getter_setter.rs +++ b/tests/test_getter_setter.rs @@ -217,7 +217,7 @@ fn get_all_and_set() { }); } -#[pyclass] +#[pyclass(unsendable)] struct CellGetterSetter { #[pyo3(get, set)] cell_inner: Cell,