Tweaks from copilot, type fix, typos, language.
parent
07781e38cd
commit
62a364a1d3
|
@ -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,
|
ignore_special_cases: bool,
|
||||||
loglevel: str,
|
loglevel: str,
|
||||||
debug_mode: bool,
|
debug_mode: bool,
|
||||||
|
|
|
@ -72,7 +72,7 @@ _mask_cases: dict[
|
||||||
dict[
|
dict[
|
||||||
int, # inner-frame index into `inspect.getinnerframes()`
|
int, # inner-frame index into `inspect.getinnerframes()`
|
||||||
# `FrameInfo.function/filename: str`s to match
|
# `FrameInfo.function/filename: str`s to match
|
||||||
tuple[str, str],
|
dict[str, str],
|
||||||
],
|
],
|
||||||
] = {
|
] = {
|
||||||
trio.WouldBlock: {
|
trio.WouldBlock: {
|
||||||
|
@ -275,7 +275,8 @@ async def maybe_raise_from_masking_exc(
|
||||||
))
|
))
|
||||||
):
|
):
|
||||||
log.warning(
|
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'{masker_frame}\n'
|
||||||
f'\n'
|
f'\n'
|
||||||
f'NOT raising {exc_ctx} from masker {exc_match!r}\n'
|
f'NOT raising {exc_ctx} from masker {exc_match!r}\n'
|
||||||
|
|
Loading…
Reference in New Issue