Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ repos:
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.2
rev: v0.8.3
hooks:
- id: ruff
types: [file]
Expand Down
6 changes: 6 additions & 0 deletions src/trio/_tests/test_highlevel_socket.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
from collections.abc import Sequence


@pytest.mark.xfail(
sys.platform == "darwin" and sys.version_info[:3] == (3, 13, 1),
reason="TODO: This started failing in CI after 3.13.1",
raises=OSError,
strict=True,
)
async def test_SocketStream_basics() -> None:
# stdlib socket bad (even if connected)
stdlib_a, stdlib_b = stdlib_socket.socketpair()
Expand Down
6 changes: 6 additions & 0 deletions src/trio/_tests/test_socket.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,12 @@ async def test_SocketType_basics() -> None:
sock.close()


@pytest.mark.xfail(
sys.platform == "darwin" and sys.version_info[:3] == (3, 13, 1),
reason="TODO: This started failing in CI after 3.13.1",
raises=OSError,
strict=True,
)
async def test_SocketType_setsockopt() -> None:
sock = tsocket.socket()
with sock as _:
Expand Down