From 1037c05eaf30be44fa5a6c22aa31a0a734edb6d0 Mon Sep 17 00:00:00 2001 From: goodboy Date: Fri, 17 Apr 2026 19:16:16 -0400 Subject: [PATCH] Avoid skip `.ipc._ringbuf` import when no `cffi` --- tests/test_ringbuf.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/test_ringbuf.py b/tests/test_ringbuf.py index a89e2bb3..1fc0b8c1 100644 --- a/tests/test_ringbuf.py +++ b/tests/test_ringbuf.py @@ -4,6 +4,10 @@ import trio import pytest import tractor + +# XXX `cffi` dun build on py3.14 yet.. +cffi = pytest.importorskip("cffi") + from tractor.ipc._ringbuf import ( open_ringbuf, RBToken, @@ -14,12 +18,9 @@ from tractor._testing.samples import ( generate_sample_messages, ) -# in case you don't want to melt your cores, uncomment dis! +# XXX, in case you want to melt your cores, comment this skip line XD pytestmark = pytest.mark.skip -# XXX `cffi` dun build on py3.14 yet.. -cffi = pytest.importorskip("cffi") - @tractor.context async def child_read_shm(