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
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ repos:
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.17.4
rev: v0.17.5
hooks:
- id: ruff-check
types: [file]
Expand All @@ -38,7 +38,7 @@ repos:
# tomli needed on 3.10. tomllib is available in stdlib on 3.11+
- tomli
- repo: https://github.com/adhtruong/mirrors-typos
rev: v1.52.0
rev: v1.52.2
hooks:
- id: typos
- repo: https://github.com/sphinx-contrib/sphinx-lint
Expand Down Expand Up @@ -69,7 +69,7 @@ repos:
additional_dependencies: ["pyyaml"]
files: ^(test-requirements\.txt)|(\.pre-commit-config\.yaml)$
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.13.7
rev: 0.13.8
hooks:
# Compile requirements
- id: pip-compile
Expand Down
4 changes: 1 addition & 3 deletions src/trio/_core/_tests/test_exceptiongroup_gc.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,10 @@ def make_multi() -> NoReturn:

try:
gc.set_debug(gc.DEBUG_SAVEALL)
with pytest.raises(ExceptionGroup) as excinfo:
with pytest.RaisesGroup(ValueError, KeyError):
# covers ~~MultiErrorCatcher.__exit__ and~~ _concat_tb.copy_tb
# TODO: is the above comment true anymore? as this no longer uses MultiError.catch
raise make_multi()
for exc in excinfo.value.exceptions:
assert isinstance(exc, (ValueError, KeyError))
gc.collect()
assert not gc.garbage
finally:
Expand Down
4 changes: 2 additions & 2 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ requests==2.34.2
# via sphinx
roman-numerals==4.1.0 ; python_full_version >= '3.11'
# via sphinx
ruff==0.17.4
ruff==0.17.5
# via -r test-requirements.in
sniffio==1.3.1
# via -r test-requirements.in
Expand Down Expand Up @@ -224,7 +224,7 @@ typing-extensions==4.16.0
# virtualenv
urllib3==2.8.0
# via requests
uv==0.13.7
uv==0.13.8
# via -r test-requirements.in
virtualenv==21.15.2
# via pre-commit
Loading