Skip to content

Commit 2c53ff2

Browse files
authored
Merge branch 'main' into codecov_stuff
2 parents a7a2ff9 + a2c6bcd commit 2c53ff2

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ repos:
2222
hooks:
2323
- id: black
2424
- repo: https://github.com/astral-sh/ruff-pre-commit
25-
rev: v0.8.2
25+
rev: v0.8.3
2626
hooks:
2727
- id: ruff
2828
types: [file]

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)