Skip to content

Commit 022bd3d

Browse files
authored
Apply suggestions from code review
1 parent 97a9eb2 commit 022bd3d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/trio/_core/_run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1773,7 +1773,7 @@ def current_root_task(self) -> Task | None:
17731773
# Core task handling primitives
17741774
################
17751775

1776-
@_public # Type-ignore due to use of Any here.
1776+
@_public
17771777
def reschedule(
17781778
self,
17791779
task: Task,

src/trio/_core/_tests/test_ki.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ def _identity(v: _T) -> _T:
540540
"https://github.com/python-trio/trio/pull/3110#discussion_r1802123644"
541541
),
542542
)
543-
async def test_ki_does_not_leak_accross_different_calls_to_inner_functions() -> None:
543+
async def test_ki_does_not_leak_across_different_calls_to_inner_functions() -> None:
544544
assert not _core.currently_ki_protected()
545545

546546
def factory(enabled: bool) -> Callable[[], bool]:

0 commit comments

Comments
 (0)