Skip to content

Commit

Permalink
use unsendable to test cell get / set
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhewitt committed Oct 30, 2024
1 parent 862b882 commit 0b8d5fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_getter_setter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ fn get_all_and_set() {
});
}

#[pyclass]
#[pyclass(unsendable)]
struct CellGetterSetter {
#[pyo3(get, set)]
cell_inner: Cell<i32>,
Expand Down

0 comments on commit 0b8d5fa

Please sign in to comment.