Skip to content

Commit 4fe4d36

Browse files
authored
use peo614
1 parent 022bd3d commit 4fe4d36

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/trio/_core/_tests/test_ki.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ async def test_ki_does_not_leak_across_different_calls_to_inner_functions() -> N
544544
assert not _core.currently_ki_protected()
545545

546546
def factory(enabled: bool) -> Callable[[], bool]:
547-
@_identity(_core.enable_ki_protection if enabled else _identity)
547+
@_core.enable_ki_protection if enabled else _identity
548548
def decorated() -> bool:
549549
return _core.currently_ki_protected()
550550

0 commit comments

Comments
 (0)