Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Lib/test/test_picklebuffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ def test_release(self):
# Idempotency
pb.release()

@unittest.expectedFailure # TODO: RUSTPYTHON; PickleBuffer is not traversed by the cycle collector
def test_cycle(self):
b = B(b"foo")
pb = PickleBuffer(b)
Expand Down
2 changes: 1 addition & 1 deletion crates/stdlib/src/pickle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ mod _pickle {
// PickleBuffer

#[pyattr]
#[pyclass(module = "pickle", name = "PickleBuffer")]
#[pyclass(module = "pickle", name = "PickleBuffer", traverse)]
#[derive(Debug, PyPayload)]
pub(super) struct PyPickleBuffer {
buffer: PyRwLock<Option<PyBuffer>>,
Expand Down
Loading