diff --git a/tests/test_trioisms.py b/tests/test_trioisms.py index f68bc2e8..516d30e1 100644 --- a/tests/test_trioisms.py +++ b/tests/test_trioisms.py @@ -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, diff --git a/tractor/trionics/_taskc.py b/tractor/trionics/_taskc.py index dc534037..0298912d 100644 --- a/tractor/trionics/_taskc.py +++ b/tractor/trionics/_taskc.py @@ -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'