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

(cherry picked from commit 03bf2b931e)
(cherry picked from commit 9157f58c15)
trionics_start_or_cancel
Gud Boi 2026-04-17 19:16:16 -04:00
parent ba111b3042
commit 47ac8c0fef
1 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,10 @@ import trio
import pytest import pytest
import tractor import tractor
# XXX `cffi` dun build on py3.14 yet..
cffi = pytest.importorskip("cffi")
from tractor.ipc._ringbuf import ( from tractor.ipc._ringbuf import (
open_ringbuf, open_ringbuf,
RBToken, RBToken,
@ -14,7 +18,7 @@ from tractor._testing.samples import (
generate_sample_messages, 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 pytestmark = pytest.mark.skip