Skip to content

Commit 1bd004a

Browse files
committed
xfail macos 3.13.1 temporarily
1 parent 51334ff commit 1bd004a

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

src/trio/_tests/test_highlevel_socket.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@
2020
from collections.abc import Sequence
2121

2222

23+
@pytest.mark.xfail(
24+
sys.platform == "darwin" and sys.version_info[:3] == (3, 13, 1),
25+
reason="TODO: This started failing in CI after 3.13.1",
26+
raises=OSError,
27+
strict=True,
28+
)
2329
async def test_SocketStream_basics() -> None:
2430
# stdlib socket bad (even if connected)
2531
stdlib_a, stdlib_b = stdlib_socket.socketpair()

src/trio/_tests/test_socket.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,12 @@ async def test_SocketType_basics() -> None:
458458
sock.close()
459459

460460

461+
@pytest.mark.xfail(
462+
sys.platform == "darwin" and sys.version_info[:3] == (3, 13, 1),
463+
reason="TODO: This started failing in CI after 3.13.1",
464+
raises=OSError,
465+
strict=True,
466+
)
461467
async def test_SocketType_setsockopt() -> None:
462468
sock = tsocket.socket()
463469
with sock as _:

0 commit comments

Comments
 (0)