Skip to content

Commit e8212d6

Browse files
Rusty Conoverclaude
andcommitted
Skip transactor lifecycle tests where AF_UNIX is unavailable
The transactor's client and server speak over AF_UNIX, which the client already treats as POSIX-only. These tests opened an AF_UNIX listener directly and failed on the Windows CI legs (Python 3.13 and 3.14). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 219bb32 commit e8212d6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎tests/transactor/test_completion_lifecycle.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@
2828
from vgi.transactor.protocol import TransactorProtocol
2929
from vgi.transactor.server import TransactorImpl
3030

31+
# The transactor's client and server speak over AF_UNIX, which is POSIX-only.
32+
pytestmark = pytest.mark.skipif(
33+
not hasattr(socket, "AF_UNIX"), reason="the transactor transport is AF_UNIX (POSIX-only)"
34+
)
35+
3136

3237
@pytest.fixture
3338
def transactor(tmp_path: Path) -> Iterator[tuple[TransactorImpl, bytes]]:

0 commit comments

Comments
 (0)