Skip to content

Commit

Permalink
Merge branch 'main' into codecov_stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
jakkdl authored Dec 18, 2024
2 parents a7a2ff9 + a2c6bcd commit 2c53ff2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
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

0 comments on commit 2c53ff2

Please sign in to comment.