Add back loose-tn in `gather_contexts()`, mk tests green

main^2
Tyler Goodlet 2025-07-16 18:18:34 -04:00
parent 4569d11052
commit 1af35f8170
2 changed files with 3 additions and 4 deletions

View File

@ -154,7 +154,7 @@ async def gather_contexts(
async with (
# collapse_eg(),
trio.open_nursery(
# strict_exception_groups=False,
strict_exception_groups=False,
# ^XXX^ TODO? soo roll our own then ??
# -> since we kinda want the "if only one `.exception` then
# just raise that" interface?

View File

@ -60,8 +60,8 @@ def find_masked_excs(
return None
# XXX, relevant ish discussion @ `trio`-core,
# https://github.com/python-trio/trio/issues/455#issuecomment-2785122216
# XXX, relevant discussion @ `trio`-core,
# https://github.com/python-trio/trio/issues/455
#
@acm
async def maybe_raise_from_masking_exc(
@ -113,7 +113,6 @@ async def maybe_raise_from_masking_exc(
)
matching: list[BaseException]|None = None
maybe_eg: ExceptionGroup|None
maybe_eg: ExceptionGroup|None
if tn:
try: # handle egs