Add back loose-tn in `gather_contexts()`, mk tests green
parent
4569d11052
commit
1af35f8170
|
@ -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?
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue