Avoid skip `.ipc._ringbuf` import when no `cffi`

subint_spawner_backend
Gud Boi 2026-04-17 19:16:16 -04:00
parent 959fc48806
commit 1037c05eaf
1 changed files with 5 additions and 4 deletions

View File

@ -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(