forked from goodboy/tractor
1
0
Fork 0

Tweaks from copilot, type fix, typos, language.

Tyler Goodlet 2025-09-11 10:01:25 -04:00
parent 07781e38cd
commit 62a364a1d3
2 changed files with 4 additions and 3 deletions

View File

@ -279,7 +279,7 @@ def test_unmask_aclose_as_checkpoint_on_aexit(
),
]
)
def test_cancelled_lockacquire_in_ipctx_not_unmaskeed(
def test_cancelled_lockacquire_in_ipctx_not_unmasked(
ignore_special_cases: bool,
loglevel: str,
debug_mode: bool,

View File

@ -72,7 +72,7 @@ _mask_cases: dict[
dict[
int, # inner-frame index into `inspect.getinnerframes()`
# `FrameInfo.function/filename: str`s to match
tuple[str, str],
dict[str, str],
],
] = {
trio.WouldBlock: {
@ -275,7 +275,8 @@ async def maybe_raise_from_masking_exc(
))
):
log.warning(
f'Ignoring already-known/non-ideally-valid masker code @\n'
f'Ignoring already-known, non-ideal-but-valid '
f'masker code @\n'
f'{masker_frame}\n'
f'\n'
f'NOT raising {exc_ctx} from masker {exc_match!r}\n'